From 262adf316d0ac4131341fbd07e4cade16531d36d Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Thu, 25 Jul 2013 16:24:10 +0200 Subject: [PATCH] [#1117] Tweak a unit test --- ckan/new_tests/lib/navl/test_validators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan/new_tests/lib/navl/test_validators.py b/ckan/new_tests/lib/navl/test_validators.py index 1e34b51face..0b38b7e3a91 100644 --- a/ckan/new_tests/lib/navl/test_validators.py +++ b/ckan/new_tests/lib/navl/test_validators.py @@ -70,8 +70,8 @@ def test_ignore_missing_without_key(self): errors=errors, context={}) - # ignore_missing should remove the item from the dict. - assert key not in data + # ignore_missing shouldn't change the data dict. + assert data == {} # ignore_missing should not add any errors. assert errors[key] == []