Skip to content

Commit

Permalink
Fix asserts after wrong merge
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jan 10, 2020
1 parent 6755367 commit eca8887
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/tests/controllers/test_package.py
Expand Up @@ -134,9 +134,9 @@ def test_complete_package_with_two_resources(self, app):

submit_and_follow(app, form, env, 'save', 'go-metadata')
pkg = model.Package.by_name(u'complete-package-with-two-resources')
assert_equal(pkg.resources[0].url, u'http://example.com/resource0')
assert_equal(pkg.resources[1].url, u'http://example.com/resource1')
assert_equal(pkg.state, 'active')
assert pkg.resources[0].url == u'http://example.com/resource0'
assert pkg.resources[1].url == u'http://example.com/resource1'
assert pkg.state == 'active'

# resource upload is tested in TestExampleIUploaderPlugin

Expand Down

0 comments on commit eca8887

Please sign in to comment.