def test_err_chunk_repeat_weekday_daily(self):
        with self.assertRaises(ValidationError):
            create_event(
                start_date=(2015, 2, 15),
                end_date=(2015, 2, 16),
                created_by=self.user,
                title="The Main Event",
                description="super event",
                repeat="DAILY"
            )

        with self.assertRaises(ValidationError):
            create_event(
                start_date=(2015, 2, 15),
                end_date=(2015, 2, 16),
                created_by=self.user,
                title="The Other Main Event",
                description="super duper event",
                repeat="WEEKDAY"
            )

# XXX slugs have been removed
#    def test_invalid_title(self):
#        """
#        Test that titles like '???', that create a blank string
#        when slugified, use either their pk (if they have one)
#        or 0 for their slug.
#        """
#        event1 = Event.objects.create(
#            start_date=timezone.now(),
#            end_date=timezone.now() + timedelta(days=2),
#            all_day=True,
#            created_by=self.user,
#            title="???",
#            description="Amazing event",
#            repeat="NEVER",
#        )
#        event2 = Event.objects.create(
#            start_date=timezone.now() + timedelta(days=3),
#            end_date=timezone.now() + timedelta(days=5),
#            all_day=True,
#            created_by=self.user,
#            title="???",
#            description="Amazing event",
#            repeat="NEVER",
#        )
#        event3 = create_event(
#            start_date=(2013, 3, 14),
#            end_date=(2013, 3, 14),
#            created_by=self.user,
#            title="???",
#            description="Event!",
#        )
#        event4 = Event.objects.create(
#            start_date=timezone.now() + timedelta(days=7),
#            end_date=timezone.now() + timedelta(days=8),
#            all_day=True,
#            created_by=self.user,
#            title="???",
#            description="Amazing event",
#            repeat="NEVER",
#        )
#        event1.full_clean()
#        event2.full_clean()
#        event4.full_clean()
#        # events 1 and 2 didn't have a pk when they were saved, so their slugs
#        # starts from 0. Event 3 did have a pk, so it gets used in the slug.
#        self.assertEqual(event1.slug, "0")
#        self.assertEqual(event2.slug, "0-2")
#        self.assertEqual(event4.slug, "0-3")
#        self.assertEqual(event3.slug, str(event3.pk))
Returns the incomplete gamma function for LOWER or UPPER tail.
dataset/ETHPy150Open wreckage/django-happenings/tests/unit_tests/test_models.py/EventModelTest.test_err_chunk_repeat_weekday_daily--crossover with--dataset/ETHPy150Open clips/pattern/pattern/metrics.py/gammai