Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_word_correct(self):
self.assertEqual(correct(None), "")
self.assertEqual(correct(""), "")
self.assertEqual(correct("1"), "1")
self.assertEqual(correct("05"), "05")
self.assertEqual(correct("56"), "56")
self.assertEqual(correct("1.01"), "1.01")
result = correct("ทดสอง")
self.assertIsInstance(result, str)
self.assertNotEqual(result, "")
def test_word_correct(self):
self.assertEqual(correct(None), "")
self.assertEqual(correct(""), "")
self.assertEqual(correct("1"), "1")
self.assertEqual(correct("05"), "05")
self.assertEqual(correct("56"), "56")
self.assertEqual(correct("1.01"), "1.01")
result = correct("ทดสอง")
self.assertIsInstance(result, str)
self.assertNotEqual(result, "")
def test_word_correct(self):
self.assertEqual(correct(None), "")
self.assertEqual(correct(""), "")
self.assertEqual(correct("1"), "1")
self.assertEqual(correct("05"), "05")
self.assertEqual(correct("56"), "56")
self.assertEqual(correct("1.01"), "1.01")
result = correct("ทดสอง")
self.assertIsInstance(result, str)
self.assertNotEqual(result, "")
def test_word_correct(self):
self.assertEqual(correct(None), "")
self.assertEqual(correct(""), "")
self.assertEqual(correct("1"), "1")
self.assertEqual(correct("05"), "05")
self.assertEqual(correct("56"), "56")
self.assertEqual(correct("1.01"), "1.01")
result = correct("ทดสอง")
self.assertIsInstance(result, str)
self.assertNotEqual(result, "")
def test_word_correct(self):
self.assertEqual(correct(None), "")
self.assertEqual(correct(""), "")
self.assertEqual(correct("1"), "1")
self.assertEqual(correct("05"), "05")
self.assertEqual(correct("56"), "56")
self.assertEqual(correct("1.01"), "1.01")
result = correct("ทดสอง")
self.assertIsInstance(result, str)
self.assertNotEqual(result, "")
def test_word_correct(self):
self.assertEqual(correct(None), "")
self.assertEqual(correct(""), "")
self.assertEqual(correct("1"), "1")
self.assertEqual(correct("05"), "05")
self.assertEqual(correct("56"), "56")
self.assertEqual(correct("1.01"), "1.01")
result = correct("ทดสอง")
self.assertIsInstance(result, str)
self.assertNotEqual(result, "")
def test_word_correct(self):
self.assertEqual(correct(None), "")
self.assertEqual(correct(""), "")
self.assertEqual(correct("1"), "1")
self.assertEqual(correct("05"), "05")
self.assertEqual(correct("56"), "56")
self.assertEqual(correct("1.01"), "1.01")
result = correct("ทดสอง")
self.assertIsInstance(result, str)
self.assertNotEqual(result, "")