Skip to content

Commit bace875

Browse files
committed
Blacken
1 parent 4433fcb commit bace875

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

okdata/sdk/io_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
def write_to_okdata_cache(content, filename, failure_count=0):
7-
87
okdata_cache_path = Path(f"{os.environ['HOME']}/.okdata/cache")
98

109
if failure_count == 2:

tests/auth/auth_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def test_authenticate_cache_disabled(self, requests_mock, mock_home_dir):
4949
assert auth._refresh_token == client_credentials_response["refresh_token"]
5050

5151
def test_authenticat_no_cache(self, requests_mock, mock_home_dir):
52-
5352
client_credentials_provider = ClientCredentialsProvider(config)
5453
auth = Authenticate(config=config, token_provider=client_credentials_provider)
5554

@@ -80,7 +79,6 @@ def test_authenticate_cached_credentials(self, mock_home_dir):
8079
assert auth._refresh_token == cached_credentials["refresh_token"]
8180

8281
def test_authenticate_refresh_credentials(self, requests_mock, mock_home_dir):
83-
8482
client_credentials_provider = ClientCredentialsProvider(config)
8583
auth = Authenticate(config=config, token_provider=client_credentials_provider)
8684

tests/data/download_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def mock_home_dir(monkeypatch, tmp_path):
4747

4848
@pytest.fixture(scope="function")
4949
def mock_http_calls(requests_mock):
50-
5150
requests_mock.register_uri(
5251
"GET",
5352
f"{Download().data_exporter_url}/{dataset_id}/{version}/{edition}",

0 commit comments

Comments
 (0)