def test_early_end_after_and(self):
        self.assertEqual(
            self.parser().parse(
                textwrap.dedent("""
                Test That a perfectly good name
                And a good description
                When insufficiently assisted
                Then may not
                And
                """)
                ),
            [
                {
                    "name": "Test That a perfectly good name",
                    "description": "And a good description",
                    "steps": [
                        {
                            "instruction": "When insufficiently assisted",
                            "expected": "Then may not",
                            },
                        ],
                    "error": (
                        "Unexpected end of input, looking for 'When '"
                        ),
                    },
                ]
            )
Unexpected end of input after 'and' is ok.
dataset/ETHPy150Open mozilla/moztrap/tests/model/library/test_bulk.py/ParseBulkTest.test_early_end_after_and