Package ready

This commit is contained in:
Jan Giacomelli
2020-12-21 21:35:26 +01:00
parent 40616005de
commit 7a276dc140
9 changed files with 788 additions and 0 deletions

0
tests/__init__.py Normal file
View File

14
tests/test_get_quote.py Normal file
View File

@@ -0,0 +1,14 @@
from random_quote_generator.quotes import quotes
from random_quote_generator import get_quote
def test_get_quote():
"""
GIVEN
WHEN get_quote is called
THEN random quote from quotes is returned
"""
quote = get_quote()
assert quote in quotes