Skip to content

Commit 16e1876

Browse files
committed
small fixes
1 parent e49d5e3 commit 16e1876

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

test-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pycparser==2.20
2525
PyNaCl==1.4.0
2626
pyparsing==2.4.7
2727
pyrsistent==0.18.0
28-
pytest<8.0.0
28+
pytest<9.0.0
2929
pytest-asyncio==0.21.0
3030
pytest-docker-compose==3.2.1
3131
python-dotenv==0.18.0
@@ -46,6 +46,6 @@ sqlalchemy==1.4.26
4646
pylint-protobuf
4747
cython
4848
freezegun==1.2.2
49-
pytest-cov
49+
# pytest-cov
5050
yandexcloud
5151
-e .

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@pytest.fixture(scope="module")
1010
def docker_compose_file(pytestconfig):
1111
f = "compose.yml"
12-
if os.environ.get('REMOTE_CONTAINERS') is not None:
12+
if os.environ.get("REMOTE_CONTAINERS") is not None:
1313
f = "compose.remote.yml"
1414

1515
return os.path.join(str(pytestconfig.rootdir), f)
@@ -37,7 +37,7 @@ def wait_container_ready(driver):
3737
@pytest.fixture(scope="module")
3838
def endpoint(pytestconfig, module_scoped_container_getter):
3939
e = "grpc://localhost:2136"
40-
if os.environ.get('REMOTE_CONTAINERS') is not None:
40+
if os.environ.get("REMOTE_CONTAINERS") is not None:
4141
e = "grpc://py-sdk-ydb:2136"
4242

4343
with ydb.Driver(endpoint=e, database="/local") as driver:
@@ -58,7 +58,7 @@ def secure_endpoint(pytestconfig, session_scoped_container_getter):
5858
os.environ["YDB_SSL_ROOT_CERTIFICATES_FILE"] = ca_path
5959

6060
e = "grpcs://localhost:2135"
61-
if os.environ.get('REMOTE_CONTAINERS') is not None:
61+
if os.environ.get("REMOTE_CONTAINERS") is not None:
6262
e = "grpcs://py-sdk-ydb:2135"
6363

6464
with ydb.Driver(

tests/ssl/test_ssl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
import os
32
import ydb
43
import pytest
54

0 commit comments

Comments
 (0)