Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from google.api_core.exceptions import DeadlineExceeded
from test_utils.retry import RetryErrors


def unique_database_id():
"""Creates a unique id for the database."""
return f"test-db-{uuid.uuid4().hex[:10]}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# https://developers.google.com/open-source/licenses/bsd

from google.api_core.exceptions import Aborted
import pytest
from test_utils.retry import RetryErrors

import autocommit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
(exceptions.ResourceExhausted, exceptions.FailedPrecondition), max_tries=6, delay=15
)


@pytest.fixture(scope="module")
def database_dialect():
"""Database dialect to be used for this sample.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
LABEL Transfers)
"""


@pytest.fixture(scope="module")
def database_dialect():
"""Spanner dialect to be used for this sample.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest

import quickstart


Expand Down
Loading