Show contact lists on the uploads page

Uploads page is where all the stuff you’ve uploaded lives. Now you can
upload contact lists they should live here too.

They always come first because they’re the most-removed from stuff
you’ve sent.
This commit is contained in:
Chris Hill-Scott
2020-03-16 10:55:58 +00:00
parent 8ba75cf6ba
commit 050f98fea6
5 changed files with 84 additions and 2 deletions

View File

@@ -1869,6 +1869,14 @@ def mock_get_contact_lists(mocker, api_user_active, fake_uuid):
)
@pytest.fixture(scope='function')
def mock_get_no_contact_lists(mocker):
return mocker.patch(
'app.models.contact_list.ContactLists.client_method',
return_value=[],
)
@pytest.fixture(scope='function')
def mock_get_notifications(
mocker,