mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-02 19:16:42 +00:00
Fix tests
This commit is contained in:
parent
14fd8104b8
commit
a14ad2fc99
@ -43,8 +43,9 @@ def test_get(http_controller):
|
|||||||
assert response.headers['CONTENT-TYPE'] == 'image/svg+xml'
|
assert response.headers['CONTENT-TYPE'] == 'image/svg+xml'
|
||||||
assert '</svg>' in response.html
|
assert '</svg>' in response.html
|
||||||
|
|
||||||
|
# Reply by the default symbol
|
||||||
response = http_controller.get('/symbols/404.png/raw')
|
response = http_controller.get('/symbols/404.png/raw')
|
||||||
assert response.status == 404
|
assert response.status == 200
|
||||||
|
|
||||||
|
|
||||||
def test_upload(http_controller, symbols_dir):
|
def test_upload(http_controller, symbols_dir):
|
||||||
|
Loading…
Reference in New Issue
Block a user