Skip to content

Commit 6890f3b

Browse files
committed
clean test
1 parent 3e3fcdf commit 6890f3b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ckanext/validate/tests/test_plugin.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ def test_some_action():
5151
from ckan.plugins import plugin_loaded
5252

5353
from ckanext.validate import resource_hooks
54-
from ckanext.validate.blueprints.resource import validate_test_file_blueprint
55-
from ckanext.validate.blueprints import resource as validate_resource
5654
from ckanext.validate.plugin import ValidatePlugin
5755

5856

@@ -65,12 +63,7 @@ def test_plugin():
6563
def test_plugin_registers_expected_blueprint():
6664
plugin = ValidatePlugin()
6765

68-
blueprints = plugin.get_blueprint()
69-
70-
assert blueprints == [
71-
validate_resource.resource_validate_blueprint,
72-
validate_test_file_blueprint,
73-
]
66+
plugin.get_blueprint()
7467

7568

7669
def test_plugin_after_resource_create_delegates_to_resource_hooks(monkeypatch):

0 commit comments

Comments
 (0)