update tests to fix the removal of the word Tower

This commit is contained in:
Chris Meyers 2017-07-06 11:22:16 -04:00
parent dae57b71d6
commit e04c4e30d8

View File

@ -108,7 +108,7 @@ def test_system_tracking_feature_disabled(mocker):
cmd = Command()
with pytest.raises(CommandError) as err:
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)