Skip to content

Commit ab091d4

Browse files
added assert fail message to test_remote's @check_process
--HG-- branch : dev
1 parent 6b66f0d commit ab091d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/remote/test_remote.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ def caller(func, self, process, *args, **kwargs):
1818
cls = type(self)
1919
# ensure that process was not recreated for some reason
2020
if hasattr(cls, 'process'):
21-
assert process is cls.process
21+
assert process is cls.process, \
22+
"RemoteRobot process was recreated. " \
23+
"Check `process` fixture."
2224
cls.process = process
2325
# polling returns None as long as process is running
2426
assert process.poll() is None, \

0 commit comments

Comments
 (0)