change all imports
This commit is contained in:
parent
8c28974692
commit
1fb1d4adfb
21 changed files with 43 additions and 45 deletions
|
|
@ -5,7 +5,7 @@ depend on [demo]. For this to work
|
|||
1. the Runner class of the other test needs to define the depencency as seen
|
||||
by referencing RunnerDemo in the dependencies list:
|
||||
|
||||
from abratest.tests_demo.runner_demo import RunnerDemo
|
||||
from pytest_abra.tests_demo.runner_demo import RunnerDemo
|
||||
|
||||
class RunnerOther(Runner):
|
||||
dependencies = [RunnerDemo]
|
||||
|
|
@ -15,7 +15,7 @@ class RunnerOther(Runner):
|
|||
To globally import for all tests in 'other', the import should be done in conftest:
|
||||
|
||||
in 'conftest.py' in 'test_other' dir:
|
||||
from abratest.tests_demo.fixtures_demo import demo_fixture
|
||||
from pytest_abra.tests_demo.fixtures_demo import demo_fixture
|
||||
"""
|
||||
|
||||
import pytest
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from abratest.runner import Runner, Test
|
||||
from pytest_abra.runner import Runner, Test
|
||||
|
||||
|
||||
class RunnerDemo(Runner):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue