コード例 #1
0
ファイル: test_tests.py プロジェクト: pwarren/AGDeviceControl
 def testFailIfSubstring_fail(self):
     astring = "this is a string"
     substring = "this"
     failIfSubstring(substring, astring)
コード例 #2
0
ファイル: test_tests.py プロジェクト: pwarren/AGDeviceControl
 def testFailIfSubstring_pass(self):
     astring = "this is a string"
     substring = "o/` batman!....batman! o/`"
     failIfSubstring(substring, astring)