Exemplo n.º 1
0
 def test_dictionary_substring_does_not_match(self):
     dic = jemmy.dic.Dic(['abc'])
     self.assertFalse(dic.matches('a'))
     self.assertFalse(dic.matches('b'))
     self.assertFalse(dic.matches('c'))
Exemplo n.º 2
0
 def test_dictionary_takes_enumerator_with_values(self):
     dic = jemmy.dic.Dic(['a'])
     self.assertTrue(dic.matches('a'))