예제 #1
0
파일: test_yahoo.py 프로젝트: zhengda/zdict
 def setup_class(cls):
     cls.dict = YahooDict(get_args())
     cls.word = 'style'
     cls.record = cls.dict.query(cls.word)
예제 #2
0
파일: test_yahoo.py 프로젝트: zdict/zdict
 def setup_class(cls):
     cls.dict = YahooDict(get_args())
     cls.words = ['style', 'metadata', 'apples', 'google', 'hold on']
     cls.records = [cls.dict.query(word) for word in cls.words]
예제 #3
0
파일: test_yahoo.py 프로젝트: hsukvn/zdict
 def setup_method(self, method):
     self.dict = YahooDict(get_args())