def test_non_existent_url(self): status_code, content = plushcap.contact_url(self.non_existent_url) self.assertEqual(status_code, plushcap.CONNECTION_ERROR)
def test_working_url(self): status_code, content = plushcap.contact_url(self.working_url) self.assertEqual(status_code, 200)