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

Made taxonomy test more robust

parent eae501cf
No related branches found
No related tags found
1 merge request!13Item types
......@@ -11,6 +11,6 @@ def test_list_taxonomies_returns_taxonomies():
taxonomies = transport.taxonomies.list()
assert len(taxonomies) == 1
[taxonomy] = taxonomies
assert taxonomy['name'] == 'Ebola Questions'
names = [t['name'] for t in taxonomies]
assert taxonomy.name in names
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