Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Godshell
Skynet
Commits
85b142bf
Commit
85b142bf
authored
Jan 04, 2019
by
Jason Frisvold
Browse files
- Add additional Type Check tests
parent
fc967013
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tests/libs/test_funcs.py
View file @
85b142bf
...
...
@@ -36,6 +36,10 @@ class TestFuncs(object):
def
test_pid_typeerror
(
self
):
with
pytest
.
raises
(
TypeError
):
pid_exists
(
'foo'
)
with
pytest
.
raises
(
TypeError
):
pid_exists
(
5.0
)
with
pytest
.
raises
(
TypeError
):
pid_exists
(
1234.4321
)
@
patch
(
'os.kill'
)
def
test_pid_exists
(
self
,
oskillobj
):
...
...
Write
Preview
Supports
Markdown
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