def setup_method(self, method): self.dict = UrbanDict(get_args())
def setup_class(cls): cls.dict = UrbanDict(get_args()) cls.not_found_word = 'some_not_existing_word' cls.word = 'urban' cls.record = cls.dict.query(cls.word)
def setup_method(self, method): self.dict = UrbanDict(get_args())
def setup_class(cls): cls.dict = UrbanDict(get_args()) cls.not_found_word = 'some_not_existing_word' cls.word = 'urban' cls.record = cls.dict.query(cls.word)