You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
422 B
14 lines
422 B
import subprocess |
|
|
|
|
|
def test_backup_configuration_is_allow_gated(settings): |
|
assert settings.BACKUP_ROOT == "/app/backups" |
|
assert settings.BACKUP_VERIFY_ALLOWED is False |
|
|
|
|
|
def test_application_image_installs_matching_postgresql_client(): |
|
result = subprocess.run( |
|
["pg_dump", "--version"], check=True, capture_output=True, text=True |
|
) |
|
|
|
assert result.stdout.startswith("pg_dump (PostgreSQL) 17.")
|
|
|