grossmj
d3ea67da24
Refactor tests
...
* Use pytest-aiohttp
* Use the async def / await syntax.
* Fix tests to run with Python 3.8
4 years ago
ziajka
cbb6eccad8
Merge branch '2.2' of github.com:GNS3/gns3-server into 2.2
6 years ago
ziajka
9edbd27b4f
Serve WebUI via get_resource for freezed app
6 years ago
grossmj
343f223a83
Fix tests after deactivating the embedded shell for Ethernet switch. Ref #1424 #1556
6 years ago
grossmj
17d070dca7
Early support for symbol themes.
6 years ago
grossmj
bc5eda8259
Restore previously removed test.
6 years ago
grossmj
c7b8c347d7
Remove problematic test when run on Travis.
6 years ago
grossmj
53f3821d41
Change test that randomly fails on Travis.
6 years ago
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj
33e8710495
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/controller/compute.py
# gns3server/controller/gns3vm/__init__.py
# gns3server/controller/link.py
# gns3server/controller/project.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/utils/asyncio/__init__.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
# tests/compute/qemu/test_qemu_vm.py
6 years ago
grossmj
902de3dd47
Refactor asyncio locking system for Python 3.7 support. Ref https://github.com/GNS3/gns3-gui/issues/2566 Ref https://github.com/GNS3/gns3-gui/issues/2568
6 years ago
grossmj
a3d1e865a8
Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566 .
6 years ago
ziajka
dd845eb096
Fix tests on Windows
6 years ago
ziajka
867e997b74
Support /static/ files serving, Ref: #1362
6 years ago
ziajka
dc377165f2
Cancellable md5sum calculation on thread, Ref. gui#2239
7 years ago
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
7 years ago
Julien Duponchelle
5616ab0e9a
Fake console for simple Ethernet switch
...
Fix #454
7 years ago
Julien Duponchelle
c72ae1bfe7
Fix IOU test run on Windows
8 years ago
Julien Duponchelle
b4434b5134
Add tests for checking if path are correctly cleaned
8 years ago
Julien Duponchelle
51ef5d8c90
Fix a broken test on windows machines
8 years ago
Julien Duponchelle
961c209ab1
Fix an issue when getting size from some SVG file
...
Fix https://github.com/GNS3/gns3-gui/issues/1866
8 years ago
Julien Duponchelle
49315adf79
Do not recurse scan for images in standard image directory
...
Fix https://github.com/GNS3/gns3-gui/issues/1680
8 years ago
Julien Duponchelle
434f6a70dd
Fix tests on Python 3.5 >=
8 years ago
Julien Duponchelle
79d376652c
Fix tests on Unix for interfaces
8 years ago
Julien Duponchelle
c38dd004b8
Extract netmask of interfaces on windows
8 years ago
Julien Duponchelle
fb2dac6ef1
All tests pass on windows
8 years ago
Julien Duponchelle
20772a310b
Change seperator for additonnal images directory otherwise bug on windows
8 years ago
Julien Duponchelle
3ea5df7462
Make better error when we have no netmask
...
Fix #1541
8 years ago
Julien Duponchelle
84a2f8b4a3
Return flag for special interface that you can use in the cloud
...
Fix https://github.com/GNS3/gns3-gui/issues/1509
8 years ago
Julien Duponchelle
72fe5d3489
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle
0eafb6f06c
Fix a lock issue with some virtualbox vm
...
Fix https://github.com/GNS3/gns3-gui/issues/1444
8 years ago
Julien Duponchelle
fa76b89731
Fix websocket error when closing the server
...
Fix #634
8 years ago
Julien Duponchelle
f0fad5289c
Correclty cleanup packet capture objects when closing server
...
Fix #592
8 years ago
Julien Duponchelle
7777407c4b
Filter md5sum files from the list of images
8 years ago
Julien Duponchelle
4d8cf8460e
Function for computing size of symbols
8 years ago
Julien Duponchelle
67c04a7855
Watch for dynamips rom & nvram change
...
This monitor for change the file from dynamips by computing a
hash of the watched file.
The way dynamips work prevent the update of the modification time.
We can improve that by using native system for watching file but:
* it's require dependencies specific for each OS
* dependencies use C extensions
* this is only a backup if your router is cleanly shutdown we export
stuff
8 years ago
Julien Duponchelle
69334665d2
Monitor IOU nvram for change
...
With the save as you go we need to save the startup config
when a change appear instead of the old commit system.
8 years ago
Julien Duponchelle
182a979e71
Generic class for watch file change
8 years ago
Julien Duponchelle
add546158f
List images return images on compute and controller
...
Fix #506
8 years ago
Julien Duponchelle
08e482004f
Auto upload missing images
8 years ago
Julien Duponchelle
9ccb55206d
Cleanup code for getting the default project directory
9 years ago
Julien Duponchelle
c2da568543
Protect controller and compute about path outside project directory
...
Fix #503
9 years ago
Julien Duponchelle
119a2a3b66
Add test for unicode char in images path
...
Ref #401
9 years ago
grossmj
c3e99bfc1d
Drop netifaces (replaced by psutil). Fixes #344 .
9 years ago
Julien Duponchelle
c3eb6a440f
Fix vmware and interfaces tests
9 years ago
Julien Duponchelle
a8e69d9a0b
Do not use the md5 from cache for a missing image
9 years ago
Julien Duponchelle
f041697311
Compute a md5sum of images for futur purpose
...
Fix #234
9 years ago
Julien Duponchelle
7c7f8fe3ed
Fix ethernet interfaces tests if eth0 doesn't exists
...
Also on Windows and MacOS it return error if we try
to use a non existing interfaces.
Fix #230
9 years ago
Julien Duponchelle
525940ee15
Add a stupid is_interface_up test in order to see why it's crash on
...
travis
Related to #230
9 years ago