mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-08 03:33:10 +00:00
reconnect unit tests to 'make tests'
This commit is contained in:
2
Makefile
2
Makefile
@@ -62,7 +62,7 @@ NOSETESTS := nosetests
|
||||
all: clean python
|
||||
|
||||
tests:
|
||||
PYTHONPATH=./lib ANSIBLE_LIBRARY=./library $(NOSETESTS) -d -v
|
||||
PYTHONPATH=./lib ANSIBLE_LIBRARY=./library $(NOSETESTS) -d -w test/units -v
|
||||
|
||||
authors:
|
||||
sh hacking/authors.sh
|
||||
|
||||
@@ -10,7 +10,7 @@ class TestInventory(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
||||
self.cwd = os.getcwd()
|
||||
self.test_dir = os.path.join(self.cwd, 'test', 'inventory_test_data')
|
||||
self.test_dir = os.path.join(self.cwd, 'inventory_test_data')
|
||||
|
||||
self.inventory_file = os.path.join(self.test_dir, 'simple_hosts')
|
||||
self.large_range_inventory_file = os.path.join(self.test_dir, 'large_range')
|
||||
|
||||
Reference in New Issue
Block a user