+ Finishing up more tests for the /neighbors routes
For now this sub api is at an mvp stage so it should be fine to move onto new features after this point for now.
This commit is contained in:
@@ -142,6 +142,9 @@ if __name__ == '__main__':
|
||||
req(admin, 'get', '/neighbor/list', {}, 200, verbose=True),
|
||||
req(admin, 'put', '/neighbor/update', {'url':str(now)}, 200, body=to_json(updated_neighbor)),
|
||||
req(admin, 'put', '/neighbor/update', {'url':'fake'}, 404, body=to_json(updated_neighbor)),
|
||||
req(admin, 'get', '/neighbor/list', {}, 200),
|
||||
req(admin, 'delete', '/neighbor/delete', {'url':'fake'}, 200),
|
||||
req(admin, 'delete', '/neighbor/delete', {'url': str(now)}, 200),
|
||||
req(admin, 'get', '/neighbor/list', {}, 200, verbose=True),
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user