async def METHOD_NAME(self):
    with self.assertRaises(IntegrityError):
        await UniqueName.bulk_create(
            [UniqueName(name=str(i)) for i in range(10)]
            + [UniqueName(name=str(i)) for i in range(10)]
        )