コード例 #1
0
ファイル: test_string_validator.py プロジェクト: smartt/sanio
 def test_not_endswith(self):
     self.assertFalse(StringValidator.endswith('hi there', 'hi'))
コード例 #2
0
ファイル: test_string_validator.py プロジェクト: smartt/sanio
 def test_endswith(self):
     self.assertTrue(StringValidator.endswith('oh hi', 'hi'))