Commit 85b142bf authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Add additional Type Check tests

parent fc967013
......@@ -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):
......
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