Skip to content

Commit 5a4aa2d

Browse files
committed
more tests for exceptions
1 parent 3a07a89 commit 5a4aa2d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_simple.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,11 @@ def test_ports_management(self):
620620
# check that port has been freed successfully
621621
self.assertEqual(len(bound_ports), 0)
622622

623+
def test_exceptions(self):
624+
str(StartNodeException('msg', [('file', 'lines')]))
625+
str(ExecUtilException('msg', 'cmd', 1, 'out'))
626+
str(QueryException('msg', 'query'))
627+
623628
def test_version_management(self):
624629
a = LooseVersion('10.0')
625630
b = LooseVersion('10')

0 commit comments

Comments
 (0)