Skip to content

Commit

Permalink
Fix failing test from switch to 0 as default int
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed May 15, 2024
1 parent 40647df commit 975ee19
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions greenweb/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@
),
RABBITMQ_URL=(str, "amqp://USERNAME:PASSWORD@localhost:5672/"),
# cloud providers updated on cronjobs
GOOGLE_PROVIDER_ID=(int, 0),
# we use very high numbers to minimise chance of collision
# with an actual provider id
GOOGLE_PROVIDER_ID=(int, 10000001),
GOOGLE_DATASET_ENDPOINT=(str, "https://www.gstatic.com/ipranges/cloud.json"),
MICROSOFT_PROVIDER_ID=(int, 0),
EQUINIX_PROVIDER_ID=(int, 0),
MICROSOFT_PROVIDER_ID=(int, 1000002),
EQUINIX_PROVIDER_ID=(int, 1000003),
EQUINIX_REMOTE_API_ENDPOINT=(str, "https://domain/link/to/file.txt"),
AMAZON_PROVIDER_ID=(int, 0),
AMAZON_PROVIDER_ID=(int, 1000004),
AMAZON_REMOTE_API_ENDPOINT=(str, "https://domain/link/to/file.json"),
MAXMIND_USER_ID=(str, "123456"),
MAXMIND_LICENCE_KEY=(str, "xxxxxxxxxxxxxxxx"),
Expand Down

0 comments on commit 975ee19

Please sign in to comment.