예제 #1
0
 def _check(self, client):
     if is_case_insensitive_os():
         self.assertIn("case incompatible 'Hello0'", client.out)
     else:
         self.assertNotIn("case incompatible 'Hello0'", client.out)
예제 #2
0
 def _check(self, error, client):
     self.assertTrue(error)
     if is_case_insensitive_os():
         self.assertIn("case incompatible 'Hello0'", client.user_io.out)
     else:
         self.assertNotIn("case incompatible 'Hello0'", client.user_io.out)