Skip to content

Commit 979671d

Browse files
authored
Move file control for tests (#106)
1 parent 992f0c8 commit 979671d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

testgres/plugins/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
from pg_probackup2.app import ProbackupApp, ProbackupException
33
from pg_probackup2.init_helpers import init_params
44
from pg_probackup2.storage.fs_backup import FSTestBackupDir
5-
from pg_probackup2.storage.s3_backup import S3TestBackupDir
65

76
__all__ = [
8-
"ProbackupApp", "ProbackupException", "init_params", "FSTestBackupDir", "S3TestBackupDir", "GDBobj"
7+
"ProbackupApp", "ProbackupException", "init_params", "FSTestBackupDir", "GDBobj"
98
]

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import os
55
import re
66
import subprocess
7-
import sys
87
import threading
98
import time
109
import unittest
@@ -37,9 +36,10 @@ def __str__(self):
3736
return '\n ERROR: {0}\n CMD: {1}'.format(repr(self.message), self.cmd)
3837

3938

40-
# Local or S3 backup
39+
# Local backup control
4140
fs_backup_class = FSTestBackupDir
4241

42+
4343
class ProbackupApp:
4444

4545
def __init__(self, test_class: unittest.TestCase,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy