Commit 26f49f71 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson
Browse files

SampleSetList: fix typo

parent 47686009
......@@ -46,7 +46,7 @@ class SamplesetlistModel(unittest.TestCase):
value = slist.result[0]
set_ids = set([ for s in slist.result])
anon_permissions = list(set([ for s in db(auth.vidjil_accesssible_query('anon', db.sample_set))]) & set_ids)
anon_permissions = list(set([ for s in db(auth.vidjil_accessible_query('anon', db.sample_set))]) & set_ids)
self.assertFalse(value.sample_set_id in anon_permissions, "Anon was allowed, when it was not expected to be")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment