コード例 #1
0
ファイル: tests.py プロジェクト: Panda-Lewandowski/datahound
 def setUp(self):
     self.api = getters.auth()
コード例 #2
0
ファイル: community.py プロジェクト: SannikovDmitry/datahound
 def __init__(self, group_id):
     self.group_id = group_id
     self.vk_api = getters.auth()
     self.members_count, self.posts_count = self.counters()
コード例 #3
0
ファイル: tests.py プロジェクト: Panda-Lewandowski/datahound
 def test_no_auth(self):
     try:
         self.api = getters.auth()
     except exc.AuthorizationError:
         pass