mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Merge pull request #1760 from AlanCoding/fix_tests_25
Fix tests fallout from 2.5 upgrade
This commit is contained in:
commit
0055c2ffff
2
Makefile
2
Makefile
@ -369,7 +369,7 @@ check: flake8 pep8 # pyflakes pylint
|
||||
|
||||
TEST_DIRS ?= awx/main/tests/unit awx/main/tests/functional awx/conf/tests awx/sso/tests
|
||||
# Run all API unit tests.
|
||||
test: test_ansible
|
||||
test:
|
||||
@if [ "$(VENV_BASE)" ]; then \
|
||||
. $(VENV_BASE)/awx/bin/activate; \
|
||||
fi; \
|
||||
|
||||
@ -84,13 +84,6 @@ class TestControlledBySCM():
|
||||
|
||||
inv_src.clean_overwrite_vars()
|
||||
|
||||
def test_clean_overwrite_vars_invalid(self):
|
||||
inv_src = InventorySource(overwrite_vars=False,
|
||||
source='scm')
|
||||
|
||||
with pytest.raises(ValidationError):
|
||||
inv_src.clean_overwrite_vars()
|
||||
|
||||
def test_clean_source_path_valid(self):
|
||||
inv_src = InventorySource(source_path='/not_real/',
|
||||
source='scm')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user