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:
Toshio Kuratomi 2019-03-19 18:36:45 -07:00 committed by GitHub
parent dbb782a594
commit f5f4948480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 24 deletions

View file

@ -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\(.*')