Skip to content

Commit

Permalink
refactor: move samples at the repository root
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed May 26, 2024
1 parent 2b903b0 commit ca1bb56
Show file tree
Hide file tree
Showing 40 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@pytest.fixture
def load_sample():
def wrapped(filename):
with open(f"tests/fixtures/{filename}") as fd:
with open(f"samples/{filename}") as fd:
return json.load(fd)

return wrapped
2 changes: 1 addition & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def test_parse_and_serialize_examples(load_sample):
samples = list(os.walk("tests/fixtures"))[0][2]
samples = list(os.walk("samples"))[0][2]
models = {
"user": User,
"group": Group,
Expand Down

0 comments on commit ca1bb56

Please sign in to comment.