mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 05:52:55 +00:00
This will help to keep us from using deprecated Python features going forward. Signed-off-by: Tristan Partin <tristan@neon.tech>
13 lines
421 B
Python
13 lines
421 B
Python
from __future__ import annotations
|
|
|
|
from fixtures.neon_fixtures import NeonEnvBuilder
|
|
|
|
|
|
def test_fsm_truncate(neon_env_builder: NeonEnvBuilder):
|
|
env = neon_env_builder.init_start()
|
|
env.create_branch("test_fsm_truncate")
|
|
endpoint = env.endpoints.create_start("test_fsm_truncate")
|
|
endpoint.safe_psql(
|
|
"CREATE TABLE t1(key int); CREATE TABLE t2(key int); TRUNCATE TABLE t1; TRUNCATE TABLE t2;"
|
|
)
|