Skip to content

Commit 16343b6

Browse files
chore(deps): lock file maintenance (#1088)
Co-authored-by: Vlada Dusek <v.dusek96@gmail.com>
1 parent fb1356a commit 16343b6

4 files changed

Lines changed: 911 additions & 837 deletions

File tree

‎tests/e2e/conftest.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,8 @@ def sdk_wheel_path(tmp_path_factory: pytest.TempPathFactory, testrun_uid: str) -
118118
was_wheel_built_this_test_run_file = tmp_path_factory.getbasetemp() / f'wheel_was_built_in_run_{testrun_uid}'
119119
if not was_wheel_built_this_test_run_file.exists():
120120
subprocess.run(
121-
args='python -m build',
121+
args=[sys.executable, '-m', 'build'],
122122
cwd=_SDK_ROOT_PATH,
123-
shell=True,
124123
check=True,
125124
capture_output=True,
126125
)

‎tests/unit/storage_clients/test_api_client_creation.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ def request_handler(request: Request, response: Response) -> Response:
102102
request_handler
103103
).respond_with_json({'data': {}}, status=201)
104104

105-
items = [{'hello': 'world'}, {'answer': 42}]
105+
# The client leaves bodies under 1 KiB uncompressed, so the payload has to be large enough to cross that
106+
# threshold for `Content-Encoding` to be set at all.
107+
items = [{'index': i, 'payload': 'x' * 100} for i in range(20)]
106108
await client.dataset(dataset_id='test-dataset').push_items(items)
107109

108110
assert captured['content_encoding'] == 'br'

0 commit comments

Comments
 (0)