mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-05 20:44:51 +08:00
WIP: Make sure _DEBUG env variable is a str
This commit is contained in:
parent
273a99ccc4
commit
098fc4c401
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def test_npbackup_cli_show_config():
|
|||
|
||||
def test_npbackup_cli_init():
|
||||
shutil.rmtree(repo_config.g("repo_uri"), ignore_errors=True)
|
||||
os.environ["_DEBUG"] = True
|
||||
os.environ["_DEBUG"] = "True"
|
||||
sys.argv = ["", "-c", str(CONF_FILE), "--init"]
|
||||
try:
|
||||
with RedirectedStdout() as logs:
|
||||
|
|
Loading…
Add table
Reference in a new issue