def test_known_error(self): """Test that a call to a known location returns 200 response.""" tc = TwoHundredTestCase(self.failure) self.assertFalse(tc.test_2xx().result)
def test_content_type(self): """Test that a test case with a generic content type returns a 200 response.""" tc = TwoHundredTestCase(self.layer_test) self.assertTrue(tc.test_2xx().result)
def test_payload(self): tc = TwoHundredTestCase(self.google) self.assertNotEquals(tc.test_2xx().payload, '')
def test_known_200(self): """Test that a call to a known location returns 200 response.""" tc = TwoHundredTestCase(self.google) self.assertTrue(tc.test_2xx().result)