def setUp(self): self.api = getters.auth()
def __init__(self, group_id): self.group_id = group_id self.vk_api = getters.auth() self.members_count, self.posts_count = self.counters()
def test_no_auth(self): try: self.api = getters.auth() except exc.AuthorizationError: pass