Skip to content
Snippets Groups Projects
Commit 7070714a authored by Martin Burchell's avatar Martin Burchell
Browse files

Removed duplicated test

parent bab12abc
No related branches found
No related tags found
1 merge request!31Uncategorise
......@@ -230,25 +230,6 @@ def test_actions_includes_remove_question_type_option():
assert 'remove-question-type' in actions['items']
@pytest.mark.django_db
def test_actions_includes_remove_question_type_option():
page = TabbedPageFactory()
tab_instance = TabInstanceFactory(page=page)
request = Mock(GET={})
tab = ViewAndEditTableTab()
term = TermFactory()
categories = [term.taxonomy.slug]
context_data = tab.get_context_data(tab_instance,
request,
categories=categories)
actions = context_data['actions'][0]
assert actions['label'] == 'Actions'
assert 'remove-question-type' in actions['items']
@pytest.mark.django_db
def test_upload_form_source_read_from_settings():
page = TabbedPageFactory()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment