Skip to content

Commit 18e7803

Browse files
committed
refactor(tests): relocate account_id fixture to accounts-specific conftest
1 parent 9b6d2ad commit 18e7803

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/e2e/accounts/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ def currencies():
1818
return ["USD", "EUR"]
1919

2020

21+
@pytest.fixture
22+
def account_id(e2e_config):
23+
return e2e_config["accounts.account.id"]
24+
25+
2126
@pytest.fixture
2227
def seller_id(e2e_config):
2328
return e2e_config["accounts.seller.id"]

tests/e2e/conftest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,3 @@ def logo_fd():
116116
@pytest.fixture
117117
def user_id(e2e_config):
118118
return e2e_config["accounts.user.id"]
119-
120-
121-
@pytest.fixture
122-
def account_id(e2e_config):
123-
return e2e_config["accounts.account.id"]

0 commit comments

Comments
 (0)