mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 04:17:36 -02:30
Remove tests for 'any' notification state
This commit is contained in:
@@ -42,11 +42,6 @@ def test_inventory_source_notification_on_cloud_only(get, post, inventory_source
|
||||
|
||||
not_is = inventory_source_factory("not_ec2")
|
||||
|
||||
# Delete the below portion? ******
|
||||
# url = reverse('api:inventory_source_notification_templates_any_list', kwargs={'pk': cloud_is.id})
|
||||
# response = post(url, dict(id=notification_template.id), u)
|
||||
# assert response.status_code == 204
|
||||
|
||||
url = reverse('api:inventory_source_notification_templates_success_list', kwargs={'pk': not_is.id})
|
||||
response = post(url, dict(id=notification_template.id), u)
|
||||
assert response.status_code == 400
|
||||
|
||||
Reference in New Issue
Block a user