+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/testresources-2.0.1
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, flaky-3.7.0, cases-3.4.6, hypothesis-6.10.1, case-1.5.3, isort-1.3.0
collected 106 items
testresources/tests/test_optimising_test_suite.py .......s............................. [ 34%]
testresources/tests/test_resource_graph.py ...... [ 40%]
testresources/tests/test_resourced_test_case.py ............. [ 52%]
testresources/tests/test_test_loader.py .. [ 54%]
testresources/tests/test_test_resource.py ................................................ [100%]
============================================================================= warnings summary =============================================================================
testresources/__init__.py:427
/home/tkloczko/rpmbuild/BUILD/testresources-2.0.1/testresources/__init__.py:427: PytestCollectionWarning: cannot collect test class 'TestLoader' because it has a __init__ constructor (from: testresources/tests/test_test_loader.py)
class TestLoader(unittest.TestLoader):
testresources/tests/test_resourced_test_case.py::TestResourcedTestCase::testSingleWithSetup
/home/tkloczko/rpmbuild/BUILD/testresources-2.0.1/testresources/tests/test_resourced_test_case.py:161: DeprecationWarning: Please use assertFalse instead.
self.failIf(hasattr(self.resourced_case, "foo"))
testresources/tests/test_resourced_test_case.py::TestResourcedTestCase::testTearDownResourcesDeletesResourceAttributes
/home/tkloczko/rpmbuild/BUILD/testresources-2.0.1/testresources/tests/test_resourced_test_case.py:132: DeprecationWarning: Please use assertFalse instead.
self.failIf(hasattr(self.resourced_case, "foo"))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] testresources/tests/test_optimising_test_suite.py:105: Unittest2 needed
================================================================ 105 passed, 1 skipped, 3 warnings in 0.42s ================================================================