Skip to content
Snippets Groups Projects
Commit 3db034ee authored by Alice Heaton's avatar Alice Heaton :speech_balloon:
Browse files

Fix test

parent fa754aac
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ class TestTableWidget(TestCase):
{'a': 4}, {'a': 2}, {'a': 1}
])
def test_get_context_data_table_excludes_category_and_delete(self):
def test_get_context_data_table_excludes_fields(self):
widget = TableWidget()
with patch('hid.widgets.table.transport.items.list') as mock:
mock.return_value = []
......@@ -64,5 +64,5 @@ class TestTableWidget(TestCase):
widget.get_context_data()
excludes = mock_table.call_args[1]['exclude']
self.assertEqual(set(excludes), set([
'category', 'delete'
'category', 'select_item', 'network_provider'
]))
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