def test_wiktionary(self): w = wiktionary.wiktionary('test') assert len(w[1]) > 0
def test_wiktionary_none(self): w = wiktionary.wiktionary('Hell!') assert len(w[0]) == 0 assert len(w[1]) == 0
def test_wiktionary(self): w = wiktionary.wiktionary(self.phenny, 'test') assert len(w[1]) > 0
def test_wiktionary_none(self): w = wiktionary.wiktionary(self.phenny, 'Hell!') assert len(w[0]) == 0 assert len(w[1]) == 0
def test_wiktionary(self): w = wiktionary.wiktionary('test') assert len(w[0]) > 0 assert len(w[1]) > 0
def test_wiktionary_none(self): w = wiktionary.wiktionary(self.phenny, 'Hell!') self.assertEqual(len(w[0]), 0) self.assertEqual(len(w[1]), 0)
def test_wiktionary(self): w = wiktionary.wiktionary(self.phenny, 'test') self.assertTrue(len(w[1]) > 0)