Commit 00a936fe authored by Marius Kriegerowski's avatar Marius Kriegerowski

add testing dependency

parent 8afcf15d
Pipeline #13185 passed with stage
in 9 seconds
......@@ -19,7 +19,7 @@
from setuptools import setup, find_packages
tests_require = ["pytest"]
tests_require = ["pytest", "pytest-cov"]
setup(
......
......@@ -25,6 +25,7 @@ def test_pure_smoothie_types():
result = pure_smoothie(apple='apple', orange='orange')
assert result == 'appleorange'
def test_raises_exception():
with pytest.raises(TypeError):
pure_smoothie(apple='apple', orange=1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment