robotframework-2.7.7.utest.api.test_tool_api.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robotframework Show documentation
Show all versions of robotframework Show documentation
High level test automation framework
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)