Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Fixing failing test now deserialisation is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Costello committed Mar 20, 2021
1 parent 42882b9 commit 01ca864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def mocked_resources(mocked_responses):
# include hypervectors for GET response
ensemble_on_get = ensemble.to_response()
ensemble_on_get['hypervectors'] = [randint(1, 10) for _ in range(ensemble_size)]
compressed_ensemble_get = gzip.compress(json.dumps(ensemble_on_get).encode('utf-8'))
compressed_ensemble_get = json.dumps(ensemble_on_get).encode('utf-8')

mocked_responses.add(
responses.GET,
Expand Down

0 comments on commit 01ca864

Please sign in to comment.