def setUpClass(cls): cls.api = hyou.api.API(http_mocks.ReplayHttp('unittest-sheets.json'), discovery=False)
def test_discovery(self): hyou.client.API(http_mocks.ReplayHttp(), discovery=True)
def setUpClass(cls): cls.api = hyou.client.API(http_mocks.ReplayHttp(), discovery=False)
def test_no_discovery(self): hyou.client.API(http_mocks.ReplayHttp(), discovery=False)
def setUpClass(cls): cls.api = hyou.api.API( http_mocks.ReplayHttp('unittest-collection-write.json'), discovery=False)
def test_discovery(self): hyou.api.API(http_mocks.ReplayHttp('unittest-collection.json'), discovery=True)
def test_no_discovery(self): hyou.api.API(http_mocks.ReplayHttp(None), discovery=False)
def test_discovery(self): with suppress_oauth2client_warnings(): hyou.api.API(http_mocks.ReplayHttp('unittest-collection.json'), discovery=True)