test nics and info
@@ -57,6 +57,13 @@ def test_update_r(client):
assert r.status == '200 OK'
+def test_info_r(client):
+ """ tests the restful endpoint: info """
+ # test info
+ r = client.simulate_get('/info')
+ assert r.status == '200 OK'
+
+
def test_list_r(client):
""" tests the restful endpoint: list """
# test list
@@ -64,6 +71,13 @@ def test_list_r(client):
assert r.status == '200 OK'
+def test_nics_r(client):
+ """ tests the restful endpoint: nics """
+ # test nics
+ r = client.simulate_get('/nics')
+ assert r.status == '200 OK'
+
+
def test_stop_r(client):
""" tests the restful endpoint: stop """
# create some container and start it
