Skip to content

Commit

Permalink
add suffix in temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-acryl committed Jul 3, 2024
1 parent e45f7a4 commit dfe0b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smoke-test/tests/dataproduct/test_dataproduct.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def create_test_data(filename: str):

@pytest.fixture(scope="module", autouse=False)
def ingest_cleanup_data(request):
new_file, filename = tempfile.mkstemp()
new_file, filename = tempfile.mkstemp(suffix=".json")
try:
create_test_data(filename)
print("ingesting data products test data")
Expand Down

0 comments on commit dfe0b7b

Please sign in to comment.