mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 17:24:46 +00:00
disable debug in tests with env var
This commit is contained in:
@@ -10,7 +10,7 @@ import string
|
||||
import random
|
||||
import tempfile
|
||||
|
||||
from dotdrop.options import Options
|
||||
from dotdrop.options import Options, ENV_NODEBUG
|
||||
from dotdrop.linktypes import LinkTypes
|
||||
from dotdrop.utils import strip_home
|
||||
|
||||
@@ -128,6 +128,8 @@ def load_options(confpath, profile):
|
||||
o.link = LinkTypes.NOLINK.value
|
||||
o.install_showdiff = True
|
||||
o.debug = True
|
||||
if ENV_NODEBUG in os.environ:
|
||||
o.debug = False
|
||||
o.compare_dopts = ''
|
||||
o.variables = {}
|
||||
return o
|
||||
|
||||
Reference in New Issue
Block a user