1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-07-16 07:14:15 +02:00

Update tests. Add cfs_validate_backup test

This commit is contained in:
s.logvinenko
2017-10-02 17:35:20 +03:00
parent 948927142b
commit dd14c27f38
5 changed files with 143 additions and 12 deletions

View File

@ -0,0 +1,25 @@
import os
import unittest
import random
from .helpers.cfs_helpers import find_by_extensions, find_by_name, find_by_pattern, corrupt_file
from .helpers.ptrack_helpers import ProbackupTest, ProbackupException
module_name = 'cfs_validate_backup'
tblspace_name = 'cfs_tblspace'
class CfsValidateBackupNoenc(ProbackupTest,unittest.TestCase):
def setUp(self):
pass
def test_validate_fullbackup_empty_tablespace_after_delete_pg_compression(self):
pass
def tearDown(self):
pass
class CfsValidateBackupNoenc(CfsValidateBackupNoenc):
os.environ["PG_CIPHER_KEY"] = "super_secret_cipher_key"
super(CfsValidateBackupNoenc).setUp()