Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #248

Merged
merged 5 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading