Skip to content

Commit

Permalink
Updated test file path
Browse files Browse the repository at this point in the history
Changed file path of empty json file used for testing to generic /var/tmp instead of local path.
  • Loading branch information
Mahadik, Mukul Chandrakant authored and Mahadik, Mukul Chandrakant committed Jan 11, 2024
1 parent 315510c commit 479a37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emission/tests/binTests/TestPurgeRestoreUserTimeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def testPurgeRestoreUserTimeseries(self):
'''
Test 4 - Restoring from an empty JSON file should fail as the insert command needs non-empty document data
'''
emptyJsonFile = '/Users/mmahadik/Documents/GitHub/logs/data/restore_csv/empty_file.json'
emptyJsonFile = '/var/tmp/empty_file.json'
with open(emptyJsonFile, 'w') as file:
json.dump([], file)
logging.info("Attempting to load empty data...")
Expand Down

0 comments on commit 479a37f

Please sign in to comment.