Skip to content

Commit c883ee8

Browse files
committed
fix(tests): add new option to tests
1 parent a29c541 commit c883ee8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
# 3rd party
2222
from mkdocs.config.base import Config
2323

24-
# plugin target
2524
from mkdocs_rss_plugin.config import RssPluginConfig
25+
26+
# plugin target
27+
from mkdocs_rss_plugin.constants import DEFAULT_CACHE_FOLDER
2628
from mkdocs_rss_plugin.plugin import GitRssPlugin
2729

2830
# test suite
@@ -62,6 +64,7 @@ def test_plugin_config_defaults(self):
6264
"abstract_chars_count": 160,
6365
"abstract_delimiter": "<!-- more -->",
6466
"categories": None,
67+
"cache_dir": f"{DEFAULT_CACHE_FOLDER.resolve()}",
6568
"comments_path": None,
6669
"date_from_meta": {
6770
"as_creation": "git",
@@ -105,6 +108,7 @@ def test_plugin_config_image(self):
105108
expected = {
106109
"abstract_chars_count": 160,
107110
"abstract_delimiter": "<!-- more -->",
111+
"cache_dir": f"{DEFAULT_CACHE_FOLDER.resolve()}",
108112
"categories": None,
109113
"comments_path": None,
110114
"date_from_meta": {

0 commit comments

Comments
 (0)