File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ def test_component_folder_selection(self):
111111 from djangocms_frontend .component_pool import find_cms_component_templates
112112
113113 all_components = find_cms_component_templates ("cms_components" )
114+ path_components = find_cms_component_templates ("cms_components/ui" )
114115 private_components = find_cms_component_templates ("my_components" )
115116 no_components = find_cms_component_templates ("no_components" )
116117
@@ -119,5 +120,6 @@ def test_component_folder_selection(self):
119120 ("tests.test_app" , "test_app/cms_components/with_slots.html" ),
120121 ("tests.test_app" , "test_app/cms_components/ui/button.html" ),
121122 }
123+ assert path_components == [("tests.test_app" , "test_app/cms_components/ui/button.html" )]
122124 assert private_components == [("tests.test_app" , "test_app/my_components/test_component.htm" )]
123125 assert no_components == []
You can’t perform that action at this time.
0 commit comments