File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ 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
5455from ckanext .validate .blueprints import resource as validate_resource
5556from ckanext .validate .plugin import ValidatePlugin
5657
@@ -66,7 +67,10 @@ def test_plugin_registers_expected_blueprint():
6667
6768 blueprints = plugin .get_blueprint ()
6869
69- assert blueprints == [validate_resource .resource_validate_blueprint ]
70+ assert blueprints == [
71+ validate_resource .resource_validate_blueprint ,
72+ validate_test_file_blueprint ,
73+ ]
7074
7175
7276def test_plugin_after_resource_create_delegates_to_resource_hooks (monkeypatch ):
You can’t perform that action at this time.
0 commit comments