Exemplo n.º 1
0
 def test_endswith_str_long_value(self):
     p = inspector.Endswith(
         "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
     )
     eq_(
         str(p),
         "arg.endswith('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...')")
Exemplo n.º 2
0
 def test_endswith_str(self):
     p = inspector.Endswith("_ending")
     eq_(str(p), "arg.endswith('_ending')")
Exemplo n.º 3
0
 def test_endswith_unicode(self):
     p = inspector.Endswith("Ivan_Krsti\u0107")
     eq_(repr(p), "arg.endswith(%s)" % repr('Ivan_Krsti\u0107'))