All Downloads are FREE. Search and download functionalities are using the official Maven repository.

robotframework-2.7.7.utest.api.test_tool_api.py Maven / Gradle / Ivy

The newest version!
import unittest

from robot.utils.asserts import assert_true


class TestRunningAPI(unittest.TestCase):

    def test_namespace_reference(self):
        from robot.running import EXECUTION_CONTEXTS
        from robot.running.context import _ExecutionContext
        assert_true(EXECUTION_CONTEXTS.current is None)
        assert_true(_ExecutionContext(object(), None).namespace is not None)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy