Skip to content

Commit

Permalink
Update test_validators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iamarnavgarg committed Nov 15, 2019
1 parent 68ed0bd commit 34a53bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/logic/test_validators.py
Expand Up @@ -679,6 +679,6 @@ def test_val_in_list(self):
def test_val_not_in_list(self):
cont = [1,2,3,4]
func = validators.one_of(cont)
raises_invalid(func)(5)
raises_invalid(func)(5)

# TODO: Need to test when you are not providing owner_org and the validator queries for the dataset with package_show

0 comments on commit 34a53bb

Please sign in to comment.