File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ def test_some_action():
5151from ckan .plugins import plugin_loaded
5252
5353from 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
5654from ckanext .validate .plugin import ValidatePlugin
5755
5856
@@ -65,12 +63,7 @@ def test_plugin():
6563def 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
7669def test_plugin_after_resource_create_delegates_to_resource_hooks (monkeypatch ):
You can’t perform that action at this time.
0 commit comments