def METHOD_NAME(client, topic, topic_file_upload_factory):
    url = reverse('topic-detail', kwargs={'slug': topic.slug})
    response = client.get(url)
    assert response.status_code == 200
    assert ('upload_files' in response.context_data)
    assert (response.context_data['upload_files'].count() == 0)
    topic_file = topic_file_upload_factory(topic=topic)
    assert topic_file in response.context_data['upload_files']
    topic_file.delete()