def test_is_sequence_is_false(self): self.assertFalse(pycan._is_sequence('ABCD')) self.assertFalse(pycan._is_sequence(12345))
def test_is_sequence_is_true(self): self.assertTrue(pycan._is_sequence(['A', 'B', 'C', 'D'])) self.assertTrue(pycan._is_sequence(('A', 'B', 'C', 'D')))