def test_invalid_dates(self):
        """Run validates that start date is not after end date."""
        today = datetime.date(2011, 12, 13)
        r = self.F.RunFactory(
            start=today,
            end=datetime.timedelta(days=1) - today)

        with self.assertRaises(ValidationError):
            r.full_clean()
dataset/ETHPy150Open mozilla/moztrap/tests/model/execution/models/test_run.py/RunTest.test_invalid_dates/swapped operands of `-`