We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
launch_uuid_print
print_output
RPClient
1 parent 5a1b853 commit c4c0d97Copy full SHA for c4c0d97
tests/test_client.py
@@ -207,3 +207,13 @@ def test_launch_uuid_print():
207
client._skip_analytics = True
208
client.start_launch('Test Launch', timestamp())
209
assert 'Report Portal Launch UUID: ' in str_io.getvalue()
210
+
211
212
+def test_no_launch_uuid_print():
213
+ str_io = StringIO()
214
+ client = RPClient(endpoint='http://endpoint', project='project',
215
+ api_key='test', launch_uuid_print=False, print_output=str_io)
216
+ client.session = mock.Mock()
217
+ client._skip_analytics = True
218
+ client.start_launch('Test Launch', timestamp())
219
+ assert 'Report Portal Launch UUID: ' not in str_io.getvalue()
0 commit comments