Skip to content

Commit

Permalink
fix(smoke-test): add suffix in temp file creation (datahub-project#10841
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sid-acryl authored and aviv-julienjehannet committed Jul 17, 2024
1 parent 6fa9512 commit d2c3f03
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 d2c3f03

Please sign in to comment.