mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove unicode key pairs from environ after test
This commit is contained in:
parent
bec79e83a3
commit
4f8a191a69
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ class PipModuleTest(ModuleCase):
|
|||
os.makedirs(self.pip_temp)
|
||||
os.environ['PIP_SOURCE_DIR'] = os.environ['PIP_BUILD_DIR'] = ''
|
||||
|
||||
def tearDown(self):
|
||||
if 'PIP_SOURCE_DIR' in os.environ:
|
||||
os.environ.pop('PIP_SOURCE_DIR')
|
||||
|
||||
def _check_download_error(self, ret):
|
||||
'''
|
||||
Checks to see if a download error looks transitory
|
||||
|
|
Loading…
Add table
Reference in a new issue