update extension version in test_neon_extension

This commit is contained in:
Anastasia Lubennikova
2023-11-23 10:05:16 +00:00
parent f5dfa6f140
commit 582a42762b

View File

@@ -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",)