Changeset - 5ef3c8c1c2c1
[Not reviewed]
default
0 1 0
Mads Kiilerich - 8 years ago 2017-05-28 19:53:15
mads@kiilerich.com
tests: clarify that time.tzset only is available on Unix
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/conftest.py
Show inline comments
 
@@ -21,13 +21,13 @@ import kallithea.tests.base # FIXME: nee
 

	
 
from tg.util.webtest import test_context
 

	
 
def pytest_configure():
 
    os.environ['TZ'] = 'UTC'
 
    if not kallithea.is_windows:
 
        time.tzset()
 
        time.tzset() # only available on Unix
 

	
 
    path = os.getcwd()
 
    sys.path.insert(0, path)
 
    pkg_resources.working_set.add_entry(path)
 

	
 
    # Disable INFO logging of test database creation, restore with NOTSET
0 comments (0 inline, 0 general)