async def METHOD_NAME(cleanup):
    async with database:
        artist = await Artist(name="Dr Alban").save()
        await Album(name="Jamaica", artist=artist).save()
        await Artist.objects.delete(id=artist.id)
        artists = await Artist.objects.all()
        assert len(artists) == 0
        albums = await Album.objects.all()
        assert len(albums) == 0