diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-01-04 04:00:32 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-01-04 04:06:32 -0500 |
commit | 5cdfd69bf4a361442d0ef6325ada851a9edb46de (patch) | |
tree | bd759dee88a791b067e0f6e202e5ef0c64c5e925 /net-misc/gns3-gui | |
parent | net-misc/gns3-server: drop old (diff) | |
download | gentoo-5cdfd69bf4a361442d0ef6325ada851a9edb46de.tar.gz gentoo-5cdfd69bf4a361442d0ef6325ada851a9edb46de.tar.bz2 gentoo-5cdfd69bf4a361442d0ef6325ada851a9edb46de.zip |
net-misc/gns3-gui: backport tests fix
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc/gns3-gui')
-rw-r--r-- | net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch | 13 | ||||
-rw-r--r-- | net-misc/gns3-gui/gns3-gui-2.2.28.ebuild | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch b/net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch new file mode 100644 index 000000000000..aad72138710e --- /dev/null +++ b/net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch @@ -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] + diff --git a/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild b/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild index 1c1a934e12ca..14949a3a803a 100644 --- a/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild +++ b/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild @@ -28,6 +28,10 @@ RDEPEND=" distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${P}-tests.patch +) + src_prepare() { default |