mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-07 01:31:30 -07: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:
parent
dbb782a594
commit
f5f4948480
6 changed files with 30 additions and 24 deletions
|
@ -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\(.*')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue