Skip to content

Commit

Permalink
Expand test_report_main() with input data
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Feb 19, 2024
1 parent 24a8602 commit b12d1db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdmx/tests/test_testing.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import json
import sys

import pytest
Expand All @@ -10,6 +11,10 @@
reason="Uses dict() | other, not available in Python 3.8",
)
def test_report_main(tmp_path):
# Example input data
with open(tmp_path.joinpath("TEST.json"), "w") as f:
json.dump({"TEST": {"foo": "pass"}}, f)

# Function runs
main(tmp_path)

Expand Down

0 comments on commit b12d1db

Please sign in to comment.