mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
update tests to fix the removal of the word Tower
This commit is contained in:
@@ -108,7 +108,7 @@ def test_system_tracking_feature_disabled(mocker):
|
|||||||
cmd = Command()
|
cmd = Command()
|
||||||
with pytest.raises(CommandError) as err:
|
with pytest.raises(CommandError) as err:
|
||||||
cmd.handle(None)
|
cmd.handle(None)
|
||||||
assert 'The System Tracking feature is not enabled for your Tower instance' in err.value
|
assert 'The System Tracking feature is not enabled for your instance' in err.value
|
||||||
|
|
||||||
|
|
||||||
@mock.patch('awx.main.management.commands.cleanup_facts.feature_enabled', new=mock_feature_enabled)
|
@mock.patch('awx.main.management.commands.cleanup_facts.feature_enabled', new=mock_feature_enabled)
|
||||||
|
|||||||
Reference in New Issue
Block a user