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_list_test(self):
l = [1, 2, 3, 4]
self.assertEqual(variable.list_test(l), True)
l = str([1, 2, 3, 4])
self.assertEqual(variable.list_test(l), False)
def test_list_test(self):
l = [1, 2, 3, 4]
self.assertEqual(variable.list_test(l), True)
l = str([1, 2, 3, 4])
self.assertEqual(variable.list_test(l), False)