Skip to content
Snippets Groups Projects
Commit 73781163 authored by Bruno_Ribeiro's avatar Bruno_Ribeiro
Browse files

ST-970: device_proxy put as a fixture

parent 5f669aac
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ from pytest_bdd import given, scenario, then, when, parsers, scenarios ...@@ -10,6 +10,7 @@ from pytest_bdd import given, scenario, then, when, parsers, scenarios
scenarios('../features/tango-commands.feature') scenarios('../features/tango-commands.feature')
@pytest.fixture
@given(parsers.parse('a device called {device_name}')) @given(parsers.parse('a device called {device_name}'))
def device_proxy(run_context, device_name): def device_proxy(run_context, device_name):
"""a device called sys/tg_test/1.""" """a device called sys/tg_test/1."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment