Skip to content

Commit

Permalink
remove apiver_deps fixture to avoid additional confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Nov 11, 2023
1 parent a12b677 commit bc0fbe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions test/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,3 @@ def apiver(request):
def apiver_int(apiver):
"""Get apiver as an int, e.g. `2`."""
return int(apiver[1:])


@pytest.fixture(scope='session')
def apiver_deps():
import apiver_deps # noqa: F401
return apiver_deps
3 changes: 2 additions & 1 deletion test/unit/v_all/test_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
######################################################################
from __future__ import annotations

import apiver_deps
import pytest


@pytest.mark.apiver(from_ver=2)
def test_public_constants(apiver_deps):
def test_public_constants():
assert set(dir(apiver_deps)) >= {
"ALL_CAPABILITIES",
"B2_ACCOUNT_INFO_DEFAULT_FILE",
Expand Down

0 comments on commit bc0fbe3

Please sign in to comment.