Skip to content

Commit

Permalink
Merge pull request #248 from reportportal/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
HardNorth authored Dec 19, 2024
2 parents 26358f3 + 47cd3c0 commit 09db8f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ on:
env:
VERSION_FILE: setup.py
VERSION_EXTRACT_PATTERN: >-
__version__\s*=\s*'([^']+)
__version__\s*=\s*"([^"]+)
VERSION_REPLACE_PATTERN: >-
__version__ = '\1'
__version__ = "\1"
TMP_SUFFIX: _updated
CHANGE_LOG_FILE: CHANGELOG.md

Expand Down
10 changes: 5 additions & 5 deletions tests/aio/test_aio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ async def test_start_launch_statistics_send(async_send_event):
# noinspection PyTypeChecker
session = mock.AsyncMock()
client = Client("http://endpoint", "project", api_key="api_key")
client._skip_analytics = False
client._skip_analytics = ""
client._session = session
mock_basic_post_response(session)

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

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

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

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

Expand Down

0 comments on commit 09db8f5

Please sign in to comment.