def METHOD_NAME(client):
    user1 = factories.UserFactory()
    user2 = factories.UserFactory()
    storage11 = factories.StorageEntryFactory(owner=user1)
    factories.StorageEntryFactory(owner=user1)
    storage13 = factories.StorageEntryFactory(owner=user1)
    factories.StorageEntryFactory(owner=user2)
    # List by anonumous user
    response = client.json.get(reverse("user-storage-list"))
    assert response.status_code == 200
    assert len(response.data) == 0
    # List own entries
    client.login(username=user1.username, password=user1.username)
    response = client.json.get(reverse("user-storage-list"))
    assert response.status_code == 200
    assert len(response.data) == 3
    client.login(username=user2.username, password=user2.username)
    response = client.json.get(reverse("user-storage-list"))
    assert response.status_code == 200
    assert len(response.data) == 1
    # Filter results by key
    client.login(username=user1.username, password=user1.username)
    keys = ",".join([storage11.key, storage13.key])
    url = "{}?keys={}".format(reverse("user-storage-list"), keys)
    response = client.json.get(url)
    assert response.status_code == 200
    assert len(response.data) == 2