Skip to content

Commit 09db8f5

Browse files
authored
Merge pull request #248 from reportportal/develop
Release
2 parents 26358f3 + 47cd3c0 commit 09db8f5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ on:
2525
env:
2626
VERSION_FILE: setup.py
2727
VERSION_EXTRACT_PATTERN: >-
28-
__version__\s*=\s*'([^']+)
28+
__version__\s*=\s*"([^"]+)
2929
VERSION_REPLACE_PATTERN: >-
30-
__version__ = '\1'
30+
__version__ = "\1"
3131
TMP_SUFFIX: _updated
3232
CHANGE_LOG_FILE: CHANGELOG.md
3333

tests/aio/test_aio_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ async def test_start_launch_statistics_send(async_send_event):
285285
# noinspection PyTypeChecker
286286
session = mock.AsyncMock()
287287
client = Client("http://endpoint", "project", api_key="api_key")
288-
client._skip_analytics = False
288+
client._skip_analytics = ""
289289
client._session = session
290290
mock_basic_post_response(session)
291291

@@ -335,7 +335,7 @@ async def test_launch_uuid_print():
335335
endpoint="http://endpoint", project="project", api_key="test", launch_uuid_print=True, print_output=output_mock
336336
)
337337
client._session = mock.AsyncMock()
338-
client._skip_analytics = True
338+
client._skip_analytics = "1"
339339
await client.start_launch("Test Launch", timestamp())
340340
assert "ReportPortal Launch UUID: " in str_io.getvalue()
341341

@@ -353,7 +353,7 @@ async def test_no_launch_uuid_print():
353353
print_output=output_mock,
354354
)
355355
client._session = mock.AsyncMock()
356-
client._skip_analytics = True
356+
client._skip_analytics = "1"
357357
await client.start_launch("Test Launch", timestamp())
358358
assert "ReportPortal Launch UUID: " not in str_io.getvalue()
359359

@@ -363,7 +363,7 @@ async def test_no_launch_uuid_print():
363363
async def test_launch_uuid_print_default_io(mock_stdout):
364364
client = Client(endpoint="http://endpoint", project="project", api_key="test", launch_uuid_print=True)
365365
client._session = mock.AsyncMock()
366-
client._skip_analytics = True
366+
client._skip_analytics = "1"
367367
await client.start_launch("Test Launch", timestamp())
368368
assert "ReportPortal Launch UUID: " in mock_stdout.getvalue()
369369

@@ -373,7 +373,7 @@ async def test_launch_uuid_print_default_io(mock_stdout):
373373
async def test_launch_uuid_print_default_print(mock_stdout):
374374
client = Client(endpoint="http://endpoint", project="project", api_key="test")
375375
client._session = mock.AsyncMock()
376-
client._skip_analytics = True
376+
client._skip_analytics = "1"
377377
await client.start_launch("Test Launch", timestamp())
378378
assert "ReportPortal Launch UUID: " not in mock_stdout.getvalue()
379379

0 commit comments

Comments
 (0)