Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 915571

Summary: [guru] dev-python/flask-restx-1.1.0-r1 fails tests: AssertionError: assert <bound method ToViewNameTest.test_none of <tests.test_utils.ToViewNameTest object at 0x7ff3b6422090>> == test_none
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: David Roman <davidroman96>
Status: RESOLVED FIXED    
Severity: normal CC: guru-bugs
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-10-11 06:43:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/flask-restx-1.1.0-r1 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-10-11 06:43:54 UTC
Created attachment 872525 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-10-11 06:43:55 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       AssertionError: assert <bound method ToViewNameTest.test_none of <tests.test_utils.ToViewNameTest object at 0x7ff3b6422090>> == 'test_none'
FAILED tests/test_utils.py::ToViewNameTest::test_name - AssertionError: asser...
Comment 3 Larry the Git Cow gentoo-dev 2023-10-13 10:31:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d265358450939714202798d3f31871aee9796f10

commit d265358450939714202798d3f31871aee9796f10
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2023-10-13 09:17:58 +0000
Commit:     David Roman <davidroman96@gmail.com>
CommitDate: 2023-10-13 09:17:58 +0000

    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>

 dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)