mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 10:42:41 -05:00
Merge pull request #1236 from alphagov/fix-test_performance_platform_config
Change test to use json loads so that the test will pass consistently
This commit is contained in:
@@ -213,7 +213,7 @@ def test_sms_inbound_config():
|
|||||||
def test_performance_platform_config():
|
def test_performance_platform_config():
|
||||||
extract_cloudfoundry_config()
|
extract_cloudfoundry_config()
|
||||||
|
|
||||||
assert os.environ['PERFORMANCE_PLATFORM_ENDPOINTS'] == json.dumps({
|
assert json.loads(os.environ['PERFORMANCE_PLATFORM_ENDPOINTS']) == {
|
||||||
'foo': 'my_token',
|
'foo': 'my_token',
|
||||||
'bar': 'other_token'
|
'bar': 'other_token'
|
||||||
})
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user