add test_api_infobases_available
This commit is contained in:
parent
e8341cb899
commit
9d9e213607
@ -114,3 +114,13 @@ def test_api_module(client):
|
||||
response = client.put(endpoint)
|
||||
assert 304 == response.status_code
|
||||
|
||||
|
||||
def test_api_infobases_available(client):
|
||||
response = client.get('/api/v1/infobases-available')
|
||||
data = response.get_json()
|
||||
expected = ['test1', 'test2', 'bpdemo']
|
||||
expected.sort()
|
||||
actual = data
|
||||
actual.sort()
|
||||
assert actual == expected
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user