Fixed handling --verbose flag in the test appliance.
diff --git a/tests/lib/test_appliance.py b/tests/lib/test_appliance.py
index e27d25b..f69412c 100644
--- a/tests/lib/test_appliance.py
+++ b/tests/lib/test_appliance.py
@@ -39,6 +39,7 @@
args.remove('-v')
if '--verbose' in args:
verbose = True
+ args.remove('--verbose')
if 'YAML_TEST_VERBOSE' in os.environ:
verbose = True
include_functions = []
diff --git a/tests/lib3/test_appliance.py b/tests/lib3/test_appliance.py
index 77e0052..b6f956d 100644
--- a/tests/lib3/test_appliance.py
+++ b/tests/lib3/test_appliance.py
@@ -36,6 +36,7 @@
args.remove('-v')
if '--verbose' in args:
verbose = True
+ args.remove('--verbose')
if 'YAML_TEST_VERBOSE' in os.environ:
verbose = True
include_functions = []