Skip to content

Commit

Permalink
[#1692] use assert_equals
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Apr 30, 2014
1 parent f1ebce1 commit d94ae91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/new_tests/logic/test_validators.py
Expand Up @@ -16,7 +16,7 @@
import ckan.new_tests.lib.navl.test_validators as t


eq = nose.tools.eq_
assert_equals = nose.tools.assert_equals


def returns_arg(function):
Expand Down Expand Up @@ -473,7 +473,7 @@ def test_int_validator_convert(self):
(" \n", None),
]
for arg, result in converted_values:
eq(validators.int_validator(arg, None), result)
assert_equals(validators.int_validator(arg, None), result)

def test_int_validator_invalid(self):
import ckan.logic.validators as validators
Expand Down

0 comments on commit d94ae91

Please sign in to comment.