Skip to content

Commit

Permalink
fix broken import in tests from code migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Nov 6, 2024
1 parent 9211e1c commit e90c24d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/functional/adapter/test_json_keyfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import base64
import json
import pytest
from dbt.adapters.bigquery.credentials import is_base64
from dbt.adapters.bigquery.credentials import _is_base64


def string_to_base64(s):
Expand Down Expand Up @@ -58,7 +58,7 @@ def test_valid_base64_strings(example_json_keyfile_b64):
]

for s in valid_strings:
assert is_base64(s) is True
assert _is_base64(s) is True


def test_valid_base64_bytes(example_json_keyfile_b64):
Expand All @@ -70,7 +70,7 @@ def test_valid_base64_bytes(example_json_keyfile_b64):
example_json_keyfile_b64,
]
for s in valid_bytes:
assert is_base64(s) is True
assert _is_base64(s) is True


def test_invalid_base64(example_json_keyfile):
Expand All @@ -84,4 +84,4 @@ def test_invalid_base64(example_json_keyfile):
example_json_keyfile,
]
for s in invalid_inputs:
assert is_base64(s) is False
assert _is_base64(s) is False

0 comments on commit e90c24d

Please sign in to comment.