net-misc/gns3-gui: backport tests fix

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-01-04 04:06:32 -05:00
parent d7c14d6b20
commit 5cdfd69bf4
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,13 @@
https://github.com/GNS3/gns3-gui/commit/a5aa9bfb7a9996c3e07f506110d61c5a319a7468
--- a/tests/test_link.py
+++ b/tests/test_link.py
@@ -104,9 +104,6 @@ def test_create_link(devices, project, controller):
assert link._link_id is not None
assert not devices[0].ports()[0].isFree()
- assert link in devices[0].links()
- assert link in devices[1].links()
-
assert link.getNodePort(devices[0]) == devices[0].ports()[0]
assert link.getNodePort(devices[1]) == devices[1].ports()[0]
+4
View File
@@ -28,6 +28,10 @@ RDEPEND="
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${P}-tests.patch
)
src_prepare() {
default