1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Fix tests.

This commit is contained in:
grossmj 2020-04-30 20:36:12 +09:30
parent 3626bd5adb
commit 45d135911f

View File

@ -29,8 +29,8 @@ def get_static(filename):
return os.path.join(os.path.abspath(os.path.join(current_dir, '..', '..', 'gns3server', 'static')), filename)
def test_index(http_root):
response = http_root.get('/')
def test_debug(http_root):
response = http_root.get('/debug')
assert response.status == 200
html = response.html
assert "Website" in html