fix test + sorted json
This commit is contained in:
parent
30a7094eaf
commit
0eb069c86a
@ -94,7 +94,7 @@ elif mode == 'COLLECT':
|
||||
|
||||
def _save_collected_responses():
|
||||
with open(os.path.join(_data_filepath), 'w') as fd:
|
||||
json.dump(_collected_responses, fd, indent=2)
|
||||
json.dump(sorted(_collected_responses), fd, indent=2)
|
||||
|
||||
elif mode == 'ONLINE':
|
||||
def mock_requests_get(*args, **kwargs):
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user