Skip to content

Commit d461615

Browse files
s.logvinenkos.logvinenko
authored andcommitted
fix auth_test
1 parent cdc3d24 commit d461615

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/auth_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import os
77
import unittest
8-
import tempfile
98
import signal
109

1110
from .helpers.ptrack_helpers import ProbackupTest, ProbackupException
@@ -84,6 +83,7 @@ def setUp(self):
8483
'-b', 'FULL'
8584
]
8685

86+
def tearDown(self):
8787
if "PGPASSWORD" in self.pb.test_env.keys():
8888
del self.pb.test_env["PGPASSWORD"]
8989

@@ -95,9 +95,6 @@ def setUp(self):
9595
except OSError:
9696
pass
9797

98-
def tearDown(self):
99-
pass
100-
10198
def test_empty_password(self):
10299
""" Test case: PGPB_AUTH03 - zero password length """
103100
try:

0 commit comments

Comments
 (0)