Exemple #1
0
 def test_serviceWidgetMapperAllFields(self):
     userService = TestUserService('allfields')
     box = BlackBox(blackboxTests.apiUrl, userService)
     service = box.getServices("application")[0]
     mapper = ServiceWidgetMapper(userService)
     result = mapper.getWidget(service)
Exemple #2
0
 def test_testWithCamping(self):
     userService = TestUserService('allfields')
     box = BlackBox("http://mstrong.info/api/views/dnspr.json", userService)
     services = box.getServices("camping")
Exemple #3
0
 def test_singleSearchOnServiceLowercase(self):
     box = BlackBox(blackboxTests.apiUrl, TestUserService('anonymous'))
     services = box.getServices("application")
     self.assertTrue(len(services) == 1)