Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix fixturing script
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Sep 4, 2019
1 parent b7df051 commit 1fe877a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/fixturing.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
logger.setLevel(logging.DEBUG)

# API access
API_OAUTH_ID = environ.get("ISOGEO_API_CLIENT_ID")
API_OAUTH_SECRET = environ.get("ISOGEO_API_CLIENT_SECRET")
API_OAUTH_ID = environ.get("ISOGEO_API_GROUP_CLIENT_ID")
API_OAUTH_SECRET = environ.get("ISOGEO_API_GROUP_CLIENT_SECRET")
API_PLATFORM = environ.get("ISOGEO_PLATFORM", "qa")
METADATA_TEST_FIXTURE_UUID = environ.get("ISOGEO_FIXTURES_METADATA_COMPLETE")
WORKGROUP_TEST_FIXTURE_UUID = environ.get("ISOGEO_WORKGROUP_TEST_UUID")
Expand Down Expand Up @@ -93,7 +93,7 @@
augment=1,
)
with open(out_search_complete_tests, "w") as json_basic:
json.dump(request, json_basic, sort_keys=True)
json.dump(request.to_dict(), json_basic, sort_keys=True)
else:
logging.info("JSON already exists. If you want to update it, delete it first.")

Expand Down

0 comments on commit 1fe877a

Please sign in to comment.