def test_step_no_instruction_skip(self):
        result = self.import_data(
            {
                "cases": [
                    {
                        "name": "Foo",
                        "steps": [{"expected": "did this"}]
                        }
                    ]
                }
            )

        # @@@ The savepoint-rollback won't work until Django 1.4.
        # cv = self.model.CaseVersion.objects.all()
        # self.assertFalse(list(cv))
        # self.assertEqual(result.num_cases, 0)
        self.assertEqual(
            result.warnings[0]["reason"],
            ImportResult.SKIP_STEP_NO_INSTRUCTION,
            )
Skip import on case with step and no instruction.
dataset/ETHPy150Open mozilla/moztrap/tests/model/library/test_importer.py/ImporterTransactionTest.test_step_no_instruction_skip