Skip to content
Snippets Groups Projects
Commit 05792451 authored by Sam Roberts's avatar Sam Roberts
Browse files

make sure tests can still run after config changes

parent 3567097e
No related branches found
No related tags found
No related merge requests found
...@@ -226,7 +226,8 @@ CONFIG_SCHEMA = { ...@@ -226,7 +226,8 @@ CONFIG_SCHEMA = {
'redis-databases', 'redis-databases',
'ims', 'ims',
'managed-routers', 'managed-routers',
'gws-direct'] 'gws-direct',
'nren-asn-map']
}, },
{ {
'required': [ 'required': [
...@@ -236,7 +237,8 @@ CONFIG_SCHEMA = { ...@@ -236,7 +237,8 @@ CONFIG_SCHEMA = {
'redis-databases', 'redis-databases',
'ims', 'ims',
'managed-routers', 'managed-routers',
'gws-direct'] 'gws-direct',
'nren-asn-map']
} }
], ],
'additionalProperties': False 'additionalProperties': False
......
...@@ -65,7 +65,12 @@ def data_config_filename(): ...@@ -65,7 +65,12 @@ def data_config_filename():
"router": "another.bogus.host.name" "router": "another.bogus.host.name"
} }
], ],
'gws-direct': {} 'gws-direct': {},
'nren-asn-map': {
"100": "BogusNREN",
"200": "FoobarNREN",
"300": "AlsoNET"
}
} }
with open(os.path.join(TEST_DATA_DIRNAME, 'gws-direct.json')) as gws: with open(os.path.join(TEST_DATA_DIRNAME, 'gws-direct.json')) as gws:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment