mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-05 13:20:31 +02:00
fix auth_test
This commit is contained in:
parent
cdc3d240af
commit
d46161521e
@ -5,7 +5,6 @@ The Test suite check behavior of pg_probackup utility, if password is required f
|
||||
|
||||
import os
|
||||
import unittest
|
||||
import tempfile
|
||||
import signal
|
||||
|
||||
from .helpers.ptrack_helpers import ProbackupTest, ProbackupException
|
||||
@ -84,6 +83,7 @@ class AuthTest(unittest.TestCase):
|
||||
'-b', 'FULL'
|
||||
]
|
||||
|
||||
def tearDown(self):
|
||||
if "PGPASSWORD" in self.pb.test_env.keys():
|
||||
del self.pb.test_env["PGPASSWORD"]
|
||||
|
||||
@ -95,9 +95,6 @@ class AuthTest(unittest.TestCase):
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_empty_password(self):
|
||||
""" Test case: PGPB_AUTH03 - zero password length """
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user