def test_unique_slug(self):
        Event.objects.create(host=self.test_host, slug='testing-unique-slug')
        with self.assertRaises(IntegrityError):
            Event.objects.create(host=self.test_host,
                                 slug='testing-unique-slug')
@case: asset001
dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py/TestEventViews.test_unique_slug--crossover with--dataset/ETHPy150Open sahana/eden/modules/tests/asset/create_asset.py/CreateAsset.test_asset001_create_asset