]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-git.py
test: initial tests for notmuch-git
[notmuch] / notmuch-git.py
index ce3c07bb4b63f1cdb50149d8190e36e98d6d0e1b..5475d0dbd26328da380d9ec20994f395c06c6667 100644 (file)
@@ -836,6 +836,10 @@ if __name__ == '__main__':
         level = getattr(_logging, args.log_level.upper())
         _LOG.setLevel(level)
 
+    # for test suite
+    for var in ['NMBGIT', 'NMBPREFIX', 'NOTMUCH_PROFILE', 'NOTMUCH_CONFIG' ]:
+        _LOG.debug('env {:s} = {:s}'.format(var, _os.getenv(var,'%None%')))
+
     if not getattr(args, 'func', None):
         parser.print_usage()
         _sys.exit(1)