mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 09:21:39 -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():
|
||||
extract_cloudfoundry_config()
|
||||
|
||||
assert os.environ['PERFORMANCE_PLATFORM_ENDPOINTS'] == json.dumps({
|
||||
assert json.loads(os.environ['PERFORMANCE_PLATFORM_ENDPOINTS']) == {
|
||||
'foo': 'my_token',
|
||||
'bar': 'other_token'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user