Skip to content

Commit

Permalink
Do not use repository sample for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jul 24, 2023
1 parent 08f2486 commit d7a0602
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ def test_plugin_config_image(self):
self.assertEqual(warnings, [])

def test_plugin_config_through_mkdocs(self):
plg_cfg = self.get_plugin_config_from_mkdocs(Path("mkdocs.yml"), "rss")
self.assertIsInstance(plg_cfg, Config)
for config_filepath in self.config_files:
plg_cfg = self.get_plugin_config_from_mkdocs(config_filepath, "rss")
print(config_filepath)
self.assertIsInstance(plg_cfg, Config)


# ##############################################################################
Expand Down

0 comments on commit d7a0602

Please sign in to comment.