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 21
21
# 3rd party
22
22
from mkdocs .config .base import Config
23
23
24
- # plugin target
25
24
from mkdocs_rss_plugin .config import RssPluginConfig
25
+
26
+ # plugin target
27
+ from mkdocs_rss_plugin .constants import DEFAULT_CACHE_FOLDER
26
28
from mkdocs_rss_plugin .plugin import GitRssPlugin
27
29
28
30
# test suite
@@ -62,6 +64,7 @@ def test_plugin_config_defaults(self):
62
64
"abstract_chars_count" : 160 ,
63
65
"abstract_delimiter" : "<!-- more -->" ,
64
66
"categories" : None ,
67
+ "cache_dir" : f"{ DEFAULT_CACHE_FOLDER .resolve ()} " ,
65
68
"comments_path" : None ,
66
69
"date_from_meta" : {
67
70
"as_creation" : "git" ,
@@ -105,6 +108,7 @@ def test_plugin_config_image(self):
105
108
expected = {
106
109
"abstract_chars_count" : 160 ,
107
110
"abstract_delimiter" : "<!-- more -->" ,
111
+ "cache_dir" : f"{ DEFAULT_CACHE_FOLDER .resolve ()} " ,
108
112
"categories" : None ,
109
113
"comments_path" : None ,
110
114
"date_from_meta" : {
You can’t perform that action at this time.
0 commit comments