Commit 0e7d025c authored by Jérome Perrin's avatar Jérome Perrin

tests: unset slapos environment variables

This variable interfere with the test. XXX maybe the problematic tests
should explicitly unset these variables?
parent 198f0e58
......@@ -29,6 +29,12 @@ import unittest
import logging
import os
if os.environ.pop('SLAPOS_CLIENT_CONFIGURATION', None):
print ('Removed SLAPOS_CLIENT_CONFIGURATION from environment')
if os.environ.pop('SLAPOS_CONFIGURATION', None):
print ('Removed SLAPOS_CONFIGURATION from environment')
# When running with debug enabled install Ctrl+C handler and output more logs,
# otherwise disable log output.
if os.environ.get('SLAPOS_TEST_DEBUG'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment