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@gmail.com>
This commit is contained in:
David Roman
2023-10-13 11:17:58 +02:00
parent 8bb7419b28
commit d265358450

View File

@@ -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):