Skip to content

Commit 9e453c3

Browse files
committed
restore test
1 parent 673398d commit 9e453c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ckanext/validate/tests/test_plugin.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ 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
5455
from ckanext.validate.blueprints import resource as validate_resource
5556
from 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

7276
def test_plugin_after_resource_create_delegates_to_resource_hooks(monkeypatch):

0 commit comments

Comments
 (0)