mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +00:00
update extension version in test_neon_extension
This commit is contained in:
@@ -25,7 +25,7 @@ def test_neon_extension(neon_env_builder: NeonEnvBuilder):
|
||||
# IMPORTANT:
|
||||
# If the version has changed, the test should be updated.
|
||||
# Ensure that the default version is also updated in the neon.control file
|
||||
assert cur.fetchone() == ("1.0",)
|
||||
assert cur.fetchone() == ("1.1",)
|
||||
|
||||
# create test database
|
||||
cur.execute("CREATE DATABASE foodb")
|
||||
@@ -35,4 +35,4 @@ def test_neon_extension(neon_env_builder: NeonEnvBuilder):
|
||||
with closing(endpoint_main.connect(dbname="foodb")) as conn:
|
||||
with conn.cursor() as cur:
|
||||
cur.execute("SELECT extversion from pg_extension where extname='neon'")
|
||||
assert cur.fetchone() == ("1.0",)
|
||||
assert cur.fetchone() == ("1.1",)
|
||||
|
||||
Reference in New Issue
Block a user