Skip to content

Commit

Permalink
[#1117] Tweak a docstring
Browse files Browse the repository at this point in the history
This is easier to read I think
  • Loading branch information
Sean Hammond committed Jul 26, 2013
1 parent ed12fa0 commit 2f8e74a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ckan/new_tests/lib/navl/test_validators.py
Expand Up @@ -33,9 +33,13 @@ def _errors():
class TestValidators(object):

def test_ignore_missing_with_value_missing(self):
'''If data[key] is None or dictization_functions.missing or if
key is not in data, then ignore_missing() should raise StopOnError.'''
'''ignore_missing() should raise StopOnError if:
- data[key] is None, or
- data[key] is dictization_functions.missing, or
- key is not in data
'''
import ckan.lib.navl.dictization_functions as df
import ckan.lib.navl.validators as validators

Expand Down

0 comments on commit 2f8e74a

Please sign in to comment.