public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/gns3-gui/, net-misc/gns3-gui/files/
@ 2022-01-04  9:07 Ionen Wolkens
  0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2022-01-04  9:07 UTC (permalink / raw
  To: gentoo-commits

commit:     5cdfd69bf4a361442d0ef6325ada851a9edb46de
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  4 09:00:32 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jan  4 09:06:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cdfd69b

net-misc/gns3-gui: backport tests fix

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch | 13 +++++++++++++
 net-misc/gns3-gui/gns3-gui-2.2.28.ebuild            |  4 ++++
 2 files changed, 17 insertions(+)

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
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-04  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-04  9:07 [gentoo-commits] repo/gentoo:master commit in: net-misc/gns3-gui/, net-misc/gns3-gui/files/ Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox