def test_sequence_multiple_ellipsis(): sequence = Sequence(['foo', '...', 'bar', '...']) with pytest.raises(ValueError): sequence.expand(['foo'])
def test_multiple_ellipsis(self): sequence = Sequence(["foo", "...", "bar", "..."]) with self.assertRaises(ValueError): sequence.expand(["foo"])
def test_multiple_ellipsis(self): sequence = Sequence(['foo', '...', 'bar', '...']) with self.assertRaises(ValueError): sequence.expand(['foo'])