1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Merge branch 'master' into feature-custom_scan_module

This commit is contained in:
Chris Meyers 2015-05-12 09:49:21 -04:00
commit 40e8871ec5

View File

@ -93,7 +93,7 @@ class FactVersionApiTest(FactApiBaseTest):
response = self.get(url, expect=200)
for entry in response['results']:
self.assertIn('fact_view', entry['related'])
r = self.get(entry['related']['fact_view'], expect=200)
self.get(entry['related']['fact_view'], expect=200)
def test_list(self):
self.setup_facts(2)
@ -207,7 +207,7 @@ class SingleFactApiTest(FactApiBaseTest):
for entry in response['results']:
self.assertIn('single_fact', entry['related'])
# Requires fields
r = self.get(entry['related']['single_fact'], expect=400)
self.get(entry['related']['single_fact'], expect=400)
def test_related_host_list(self):
self.setup_facts(2)