How to use the apiritif.get_from_thread_store function in apiritif

To help you get started, we’ve selected a few apiritif examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Blazemeter / taurus / bzt / resources / selenium_extras.py View on Github external
def _send_marker(stage, params):
    driver = get_from_thread_store("driver")
    driver.execute_script('/* FLOW_MARKER test-case-%s */' % stage, params)
github Blazemeter / taurus / tests / resources / selenium / test_old_flow.py View on Github external
def teardown():
    (_, driver, _, _) = apiritif.get_from_thread_store()
    driver.quit()
github Blazemeter / taurus / tests / resources / apiritif / test_codegen_requests.py View on Github external
def setUp(self):
        (self.vars,) = apiritif.get_from_thread_store()
github Blazemeter / taurus / tests / resources / selenium / test_old_flow.py View on Github external
def setUp(self):
        (self.vars, self.driver, self.wnd_mng, self.frm_mng) = apiritif.get_from_thread_store()