def METHOD_NAME(client):
    epic = f.EpicFactory()
    member = f.MembershipFactory(user=epic.project.owner,
                                 project=epic.project,
                                 is_admin=True)
    custom_attr_1 = f.EpicCustomAttributeFactory(project=epic.project)
    ct1_id = "{}".format(custom_attr_1.id)
    custom_attr_2 = f.EpicCustomAttributeFactory(project=epic.project)
    ct2_id = "{}".format(custom_attr_2.id)
    custom_attrs_val = epic.custom_attributes_values
    url = reverse("epics-detail", args=[epic.id])
    client.login(member.user)
    response = client.json.delete(url)
    assert response.status_code == 204
    assert not epic.__class__.objects.filter(id=epic.id).exists()
    assert not custom_attrs_val.__class__.objects.filter(id=custom_attrs_val.id).exists()