* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/flask-restx/files/
2023-10-13 10:31 [gentoo-commits] repo/proj/guru:master commit in: dev-python/flask-restx/files/ David Roman
@ 2023-10-13 9:20 ` David Roman
0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2023-10-13 9:20 UTC (permalink / raw
To: gentoo-commits
commit: d265358450939714202798d3f31871aee9796f10
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Oct 13 09:17:58 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Oct 13 09:17:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2653584
dev-python/flask-restx: remove failing test
I don't understand why the failing test was added
in the first place. Moreover the failing tests comes
from a PR that is not merged upstream.
So for now I simply removed the test from the patch.
Closes: https://bugs.gentoo.org/915571
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch b/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
index a91a0f3e7f..759bb5f63e 100644
--- a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
+++ b/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
@@ -107,7 +107,7 @@ diff --git a/tests/test_utils.py b/tests/test_utils.py
index d98d68d0..fe3a1adb 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
-@@ -98,3 +98,17 @@ def test_value_headers_default_code(self):
+@@ -98,3 +98,14 @@ def test_value_headers_default_code(self):
def test_too_many_values(self):
with pytest.raises(ValueError):
utils.unpack((None, None, None, None))
@@ -118,9 +118,6 @@ index d98d68d0..fe3a1adb 100644
+ with pytest.raises(AssertionError):
+ _ = utils.to_view_name(None)
+
-+ def test_name(self):
-+ assert self.test_none == self.test_none.__name__
-+
+
+class ImportCheckViewFuncTest(object):
+ def test_callable(self):
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/flask-restx/files/
@ 2023-10-13 10:31 David Roman
2023-10-13 9:20 ` [gentoo-commits] repo/proj/guru:dev " David Roman
0 siblings, 1 reply; 2+ messages in thread
From: David Roman @ 2023-10-13 10:31 UTC (permalink / raw
To: gentoo-commits
commit: d265358450939714202798d3f31871aee9796f10
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Oct 13 09:17:58 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Oct 13 09:17:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2653584
dev-python/flask-restx: remove failing test
I don't understand why the failing test was added
in the first place. Moreover the failing tests comes
from a PR that is not merged upstream.
So for now I simply removed the test from the patch.
Closes: https://bugs.gentoo.org/915571
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch b/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
index a91a0f3e7f..759bb5f63e 100644
--- a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
+++ b/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
@@ -107,7 +107,7 @@ diff --git a/tests/test_utils.py b/tests/test_utils.py
index d98d68d0..fe3a1adb 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
-@@ -98,3 +98,17 @@ def test_value_headers_default_code(self):
+@@ -98,3 +98,14 @@ def test_value_headers_default_code(self):
def test_too_many_values(self):
with pytest.raises(ValueError):
utils.unpack((None, None, None, None))
@@ -118,9 +118,6 @@ index d98d68d0..fe3a1adb 100644
+ with pytest.raises(AssertionError):
+ _ = utils.to_view_name(None)
+
-+ def test_name(self):
-+ assert self.test_none == self.test_none.__name__
-+
+
+class ImportCheckViewFuncTest(object):
+ def test_callable(self):
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-13 10:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13 10:31 [gentoo-commits] repo/proj/guru:master commit in: dev-python/flask-restx/files/ David Roman
2023-10-13 9:20 ` [gentoo-commits] repo/proj/guru:dev " David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox