forked from github/pelican
Log warnings about files that would have been processed by disabled readers
This commit is contained in:
parent
79d37ba491
commit
f19de98b9e
7 changed files with 119 additions and 13 deletions
|
|
@ -966,3 +966,10 @@ class TestMemoized(unittest.TestCase):
|
|||
container.get.cache.clear()
|
||||
self.assertEqual("bar", container.get("bar"))
|
||||
get_mock.assert_called_once_with("bar")
|
||||
|
||||
|
||||
class TestStringUtils(unittest.TestCase):
|
||||
def test_file_suffix(self):
|
||||
self.assertEqual("", utils.file_suffix(""))
|
||||
self.assertEqual("", utils.file_suffix("foo"))
|
||||
self.assertEqual("md", utils.file_suffix("foo.md"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue