FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix some names used in tests · NeoTim/python-spanner-orm@19e8e3d · GitHub

Commit 19e8e3d

Browse files
committed
fix some names used in tests
1 parent 8fe9dd0 commit 19e8e3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎spanner_orm/testlib/spanner_emulator/testlib.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _get_instance(spanner_client: client.Client) -> instance.Instance:
6262
# The emulator has one default config.
6363
config = list(spanner_client.list_instance_configs())[0]
6464
inst = spanner_client.instance(
65-
'qwiklabs-spanner-instance-name', configuration_name=config.name)
65+
'spanner-instance-name', configuration_name=config.name)
6666
inst.create().result()
6767
return inst
6868

@@ -78,7 +78,7 @@ def _migrate_database_at_connection(connection: spanner_orm.SpannerConnection,
7878
def _database_id() -> str:
7979
"""Returns a new database ID that's unlikely to conflict with any other."""
8080
random_string = str(uuid.uuid4()).split('-')[0]
81-
return 'qwiklabs-db-' + random_string
81+
return 'spanner-db-' + random_string
8282

8383

8484
class TestCase(unittest.TestCase):

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL