mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-31 05:13:49 +02:00
Fix tests.
This commit is contained in:
parent
3626bd5adb
commit
45d135911f
@ -29,8 +29,8 @@ def get_static(filename):
|
|||||||
return os.path.join(os.path.abspath(os.path.join(current_dir, '..', '..', 'gns3server', 'static')), filename)
|
return os.path.join(os.path.abspath(os.path.join(current_dir, '..', '..', 'gns3server', 'static')), filename)
|
||||||
|
|
||||||
|
|
||||||
def test_index(http_root):
|
def test_debug(http_root):
|
||||||
response = http_root.get('/')
|
response = http_root.get('/debug')
|
||||||
assert response.status == 200
|
assert response.status == 200
|
||||||
html = response.html
|
html = response.html
|
||||||
assert "Website" in html
|
assert "Website" in html
|
||||||
|
Loading…
Reference in New Issue
Block a user