def test_should_return_true_if_success(self): responses.add( responses.GET, self.url, body=self.get_response('success'), content_type='application/json' ) self.assertTrue(Github.check_build_status('relekang', 'rmoq', '6dcb09b5b57875f334f61aebed695e2e4193db5e'))
def test_should_return_true_if_success(self): responses.add(responses.GET, self.url, body=self.get_response('success'), content_type='application/json') self.assertTrue( Github.check_build_status( 'relekang', 'rmoq', '6dcb09b5b57875f334f61aebed695e2e4193db5e'))
def test_should_return_true_if_success(self): responses.add( responses.GET, self.url, body=self.get_response("success"), content_type="application/json", ) self.assertTrue( Github.check_build_status( "relekang", "rmoq", "6dcb09b5b57875f334f61aebed695e2e4193db5e"))