def _check(self, client): if is_case_insensitive_os(): self.assertIn("case incompatible 'Hello0'", client.out) else: self.assertNotIn("case incompatible 'Hello0'", client.out)
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)