diff --git a/pelican/tests/test_readers.py b/pelican/tests/test_readers.py index db629eb7..8f1663ce 100644 --- a/pelican/tests/test_readers.py +++ b/pelican/tests/test_readers.py @@ -419,9 +419,9 @@ class RstReaderTest(ReaderTest): def test_typogrify_dashes_config(self): # Test default config page = self.read_file( - path = 'article_with_typogrify_dashes.rst', - TYPOGRIFY = True, - TYPOGRIFY_DASHES = 'default') + path='article_with_typogrify_dashes.rst', + TYPOGRIFY=True, + TYPOGRIFY_DASHES='default') expected = "

One: -; Two: —; Three: —-

\n" expected_title = "One -, two —, three —- dashes!" @@ -430,9 +430,9 @@ class RstReaderTest(ReaderTest): # Test 'oldschool' variant page = self.read_file( - path = 'article_with_typogrify_dashes.rst', - TYPOGRIFY = True, - TYPOGRIFY_DASHES = 'oldschool') + path='article_with_typogrify_dashes.rst', + TYPOGRIFY=True, + TYPOGRIFY_DASHES='oldschool') expected = "

One: -; Two: –; Three: —

\n" expected_title = "One -, two –, three — dashes!" @@ -441,9 +441,9 @@ class RstReaderTest(ReaderTest): # Test 'oldschool_inverted' variant page = self.read_file( - path = 'article_with_typogrify_dashes.rst', - TYPOGRIFY = True, - TYPOGRIFY_DASHES = 'oldschool_inverted') + path='article_with_typogrify_dashes.rst', + TYPOGRIFY=True, + TYPOGRIFY_DASHES='oldschool_inverted') expected = "

One: -; Two: —; Three: –

\n" expected_title = "One -, two —, three – dashes!" @@ -668,9 +668,9 @@ class MdReaderTest(ReaderTest): def test_typogrify_dashes_config(self): # Test default config page = self.read_file( - path = 'article_with_typogrify_dashes.md', - TYPOGRIFY = True, - TYPOGRIFY_DASHES = 'default') + path='article_with_typogrify_dashes.md', + TYPOGRIFY=True, + TYPOGRIFY_DASHES='default') expected = "

One: -; Two: —; Three: —-

" expected_title = "One -, two —, three —- dashes!" @@ -679,9 +679,9 @@ class MdReaderTest(ReaderTest): # Test 'oldschool' variant page = self.read_file( - path = 'article_with_typogrify_dashes.md', - TYPOGRIFY = True, - TYPOGRIFY_DASHES = 'oldschool') + path='article_with_typogrify_dashes.md', + TYPOGRIFY=True, + TYPOGRIFY_DASHES='oldschool') expected = "

One: -; Two: –; Three: —

" expected_title = "One -, two –, three — dashes!" @@ -690,9 +690,9 @@ class MdReaderTest(ReaderTest): # Test 'oldschool_inverted' variant page = self.read_file( - path = 'article_with_typogrify_dashes.md', - TYPOGRIFY = True, - TYPOGRIFY_DASHES = 'oldschool_inverted') + path='article_with_typogrify_dashes.md', + TYPOGRIFY=True, + TYPOGRIFY_DASHES='oldschool_inverted') expected = "

One: -; Two: —; Three: –

" expected_title = "One -, two —, three – dashes!"