From a0a74d3875358989b4cfccb7dd3af031645a1c98 Mon Sep 17 00:00:00 2001 From: Daniel Fancsali Date: Mon, 20 Jan 2020 13:23:43 +0000 Subject: [PATCH] Fix coding style around keyword arguments --- pelican/tests/test_readers.py | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) 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!"