Exemple #1
0
 def setUpClass(cls):
     cls.api = hyou.api.API(http_mocks.ReplayHttp('unittest-sheets.json'),
                            discovery=False)
Exemple #2
0
 def test_discovery(self):
     hyou.client.API(http_mocks.ReplayHttp(), discovery=True)
Exemple #3
0
 def setUpClass(cls):
     cls.api = hyou.client.API(http_mocks.ReplayHttp(), discovery=False)
Exemple #4
0
 def test_no_discovery(self):
     hyou.client.API(http_mocks.ReplayHttp(), discovery=False)
Exemple #5
0
 def setUpClass(cls):
     cls.api = hyou.api.API(
         http_mocks.ReplayHttp('unittest-collection-write.json'),
         discovery=False)
Exemple #6
0
 def test_discovery(self):
     hyou.api.API(http_mocks.ReplayHttp('unittest-collection.json'),
                  discovery=True)
Exemple #7
0
 def test_no_discovery(self):
     hyou.api.API(http_mocks.ReplayHttp(None), discovery=False)
Exemple #8
0
 def test_discovery(self):
     with suppress_oauth2client_warnings():
         hyou.api.API(http_mocks.ReplayHttp('unittest-collection.json'),
                      discovery=True)