Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Marius Kriegerowski
smoothie
Commits
00a936fe
Commit
00a936fe
authored
Oct 05, 2020
by
Marius Kriegerowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add testing dependency
parent
8afcf15d
Pipeline
#13185
passed with stage
in 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
setup.py
setup.py
+1
-1
tests/test_basket.py
tests/test_basket.py
+1
-0
No files found.
setup.py
View file @
00a936fe
...
...
@@ -19,7 +19,7 @@
from
setuptools
import
setup
,
find_packages
tests_require
=
[
"pytest"
]
tests_require
=
[
"pytest"
,
"pytest-cov"
]
setup
(
...
...
tests/test_basket.py
View file @
00a936fe
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment