mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
net-misc/gns3-gui: backport tests fix
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -28,6 +28,10 @@ RDEPEND="
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user