Beispiel #1
0
def with_suite():
    def ns():
        pass

    ns.variables = lambda: 0
    ns.variables.current = lambda: 0
    ns.variables.current.store = lambda: 0
    EXECUTION_CONTEXTS.start_suite("suite", ns, lambda: 0)
    yield
    EXECUTION_CONTEXTS.end_suite()
Beispiel #2
0
def _bootstrap_robot():
    BuiltIn()
    v = Variables()
    v['${zephyr}'] = Dotable.parse({'baseURL': 'qwe', 'user': '******', 'passwd': 'qwe', 'project_key': 'TEST', 'custom_field_id': 'custom_field_id'})
    v['${/}'] = '/'
    EXECUTION_CONTEXTS.start_suite(Namespace(TestSuite(), v, None, [], []), 'qwe')