The nose testing framework is dead and no longer maintained, from https://nose.readthedocs.io/en/latest/
Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership. New projects should consider using Nose2, py.test, or just plain unittest/unittest2.
We should drop dependency on nose and replace all usage of nose with unittest or pytest package. Most changes can be automated:
unittest
pytest
raise nose.SkipTest
raise unittest.SkipTest
nose.tools.assert_equal(a, b)
assert a == b
nose.tools.raises
pytest.raises
Metadata Update from @cheimes: - Issue priority set to: low - Issue tagged with: easyfix, tests
Metadata Update from @cheimes: - Issue assigned to cheimes
master:
Metadata Update from @cheimes: - Assignee reset
I removed all nose imports from master. There is still a nose compat plugin left in pytest plugin directory. Is the plugin still used by CI?
Which CI? Btw, I don't know answer for any.
JFTR: it's not used by PR CI, however, I'm not sure about Jenkins. @mkubik could you help us here?
Metadata Update from @pvoborni: - Issue set to the milestone: FreeIPA 4.7
Closing as fixed. Dependency on nose has been removed. The remaining plugin can be removed in another PR.
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.