mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Remove nose from unittests (#54055)
* Remove nose from unittests This PR migrates the last of our unittests from using nose to using pytest. We don't need to install nose in our testing environments anymore
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
# To execute this by hand:
|
||||
# 1) cd <checkoutdir>
|
||||
# 2) source hacking/env-setup
|
||||
# 3) PYTHONPATH=./lib nosetests -d -w test -v --nocapture sanity/validate-modules
|
||||
# 3) PYTHONPATH=./lib pytest -v sanity/validate-modules
|
||||
|
||||
import re
|
||||
from ansible.compat.tests import unittest
|
||||
import unittest
|
||||
|
||||
# TYPE_REGEX = re.compile(r'.*\stype\(.*')
|
||||
# TYPE_REGEX = re.compile(r'.*(if|or)\stype\(.*')
|
||||
|
||||
Reference in New Issue
Block a user