tests: Replace direct calls to neon_cli with wrappers in NeonEnv (#9195)

Add wrappers for a few commands that didn't have them before. Move the
logic to generate tenant and timeline IDs from NeonCli to the callers,
so that NeonCli is more purely just a type-safe wrapper around
'neon_local'.
This commit is contained in:
Heikki Linnakangas
2024-10-03 22:03:22 +03:00
parent 4e9b32c442
commit 19db9e9aad
85 changed files with 491 additions and 404 deletions

View File

@@ -27,7 +27,7 @@ def test_startup_simple(neon_env_builder: NeonEnvBuilder, zenbenchmark: NeonBenc
neon_env_builder.num_safekeepers = 3
env = neon_env_builder.init_start()
env.neon_cli.create_branch("test_startup")
env.create_branch("test_startup")
endpoint = None