Skip to content

Commit

Permalink
update test_hashing with a new hash due to the change in the version …
Browse files Browse the repository at this point in the history
…of the StorageScheduler

Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed Aug 1, 2023
1 parent 48fd692 commit b8c546e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flexmeasures/data/tests/test_scheduling_repeated_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ def test_hashing(db, app, add_charging_station_assets, setup_test_data):
print("RIGHT HASH: ", hash)

# checks that hashes are consistent between different runtime calls
assert hash == "4ed0V9h247brxusBYk3ug9Cy7miPnynOeSNBT8hd5Mo="
# this test needs to be updated in case of a version upgrade
assert hash == "mmENiTzn49DRv7zbPZn05yVK7RXrdxglalRfmteuFms="

kwargs2 = copy.deepcopy(kwargs)
args2 = copy.deepcopy(args)
Expand Down

0 comments on commit b8c546e

Please sign in to comment.