mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 03:08:14 +00: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)
|
||||
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user