mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Proper parameterization for scm tests
This commit is contained in:
@@ -73,11 +73,6 @@ def test_invalid_kind_clean_insights_credential():
|
|||||||
|
|
||||||
|
|
||||||
class TestControlledBySCM():
|
class TestControlledBySCM():
|
||||||
@pytest.mark.parametrize('source', [
|
|
||||||
'scm',
|
|
||||||
'ec2',
|
|
||||||
'manual',
|
|
||||||
])
|
|
||||||
def test_clean_source_path_valid(self):
|
def test_clean_source_path_valid(self):
|
||||||
inv_src = InventorySource(source_path='/not_real/',
|
inv_src = InventorySource(source_path='/not_real/',
|
||||||
source='scm')
|
source='scm')
|
||||||
|
|||||||
Reference in New Issue
Block a user