예제 #1
0
 def setUpClass(cls):
     cls.api = hyou.api.API(http_mocks.ReplayHttp('unittest-sheets.json'),
                            discovery=False)
예제 #2
0
 def test_discovery(self):
     hyou.client.API(http_mocks.ReplayHttp(), discovery=True)
예제 #3
0
 def setUpClass(cls):
     cls.api = hyou.client.API(http_mocks.ReplayHttp(), discovery=False)
예제 #4
0
 def test_no_discovery(self):
     hyou.client.API(http_mocks.ReplayHttp(), discovery=False)
예제 #5
0
 def setUpClass(cls):
     cls.api = hyou.api.API(
         http_mocks.ReplayHttp('unittest-collection-write.json'),
         discovery=False)
예제 #6
0
 def test_discovery(self):
     hyou.api.API(http_mocks.ReplayHttp('unittest-collection.json'),
                  discovery=True)
예제 #7
0
 def test_no_discovery(self):
     hyou.api.API(http_mocks.ReplayHttp(None), discovery=False)
예제 #8
0
파일: api_test.py 프로젝트: yazici/hyou
 def test_discovery(self):
     with suppress_oauth2client_warnings():
         hyou.api.API(http_mocks.ReplayHttp('unittest-collection.json'),
                      discovery=True)