mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-20 16:20:18 +00:00
Fix tests to work with new version of aiohttp (>= 3.0)
This commit is contained in:
@ -298,7 +298,7 @@ def test_start_streaming_pcap(link, async_run, tmpdir, project):
|
||||
with open(os.path.join(project.captures_directory, "test.pcap"), "rb") as f:
|
||||
c = f.read()
|
||||
assert c == b"hello"
|
||||
|
||||
async_run(link.read_pcap_from_source.close())
|
||||
|
||||
def test_default_capture_file_name(project, compute, async_run):
|
||||
node1 = Node(project, compute, "Hello@", node_type="qemu")
|
||||
|
Reference in New Issue
Block a user