Skip to content

Commit

Permalink
chore: fix pytest warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yshalenyk committed Jun 28, 2024
1 parent b4f7a12 commit 0454077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_mapping_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from nightingale.utils import get_longest_array_path


def test_sheets():
def _sheets():
return {
"OCDS Schema": [
(None, "array_path", "title1", "description1", "array", "range1", "values1", "links1", None, None),
Expand Down Expand Up @@ -94,7 +94,7 @@ def test_sheets():


def getter(key):
sheets = test_sheets()
sheets = _sheets()
mock_sheet = MagicMock()
if "schema" in key.lower():
data = sheets["OCDS Schema"]
Expand Down

0 comments on commit 0454077

Please sign in to comment.