diff options
author | Karl Lorey <git@karllorey.com> | 2022-08-18 17:05:04 +0200 |
---|---|---|
committer | Karl Lorey <git@karllorey.com> | 2022-08-18 17:05:04 +0200 |
commit | c0b805843d5ca05ef579a3fbd4f2e5a524688a27 (patch) | |
tree | e1e661638c3362589da48dc1ca69da64d3931e5d | |
parent | 760215f0a2552f37b4e9b86b02ef0632bc23d1df (diff) |
Minor: fix formatting
-rw-r--r-- | tests/test_examples.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/test_examples.py b/tests/test_examples.py index 699da18..ea385aa 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -1,11 +1,12 @@ from examples.quotes_to_scrape import main as quotes_to_scrape_main -# Example 1 - Quotes to scrape + def test_example_quotes_to_scrape(): - ''' + """ Test if the example quotes_to_scrape.py works - ''' + """ - assert quotes_to_scrape_main() == \ - {'name': 'J.K. Rowling', 'born': 'July 31, 1965'}, \ - 'Quotes to scrape example failed' + assert quotes_to_scrape_main() == { + "name": "J.K. Rowling", + "born": "July 31, 1965", + }, "Quotes to scrape example failed" |