Update test_runner/regress/test_tenants.py

Co-authored-by: Alexander Bayandin <alexander@neon.tech>
This commit is contained in:
Alex Chi Z
2023-05-16 17:44:16 -04:00
committed by GitHub
parent 38602ef580
commit 52e8c3c98f

View File

@@ -423,5 +423,4 @@ def test_pageserver_create_tenants_fail(
with pytest.raises(PageserverApiException, match=f"failpoint: tenant-create-fail"):
client.tenant_create(tenant_id)
path = Path(env.repo_dir) / "tenants" / str(tenant_id)
assert not path.exists()
assert not (env.repo_dir / "tenants" / str(tenant_id)).exists()