Explorar o código

new attempt to fix test failure not reproducible on local win64 environment (save_prev option)

Greg Junkietech %!s(int64=4) %!d(string=hai) anos
pai
achega
e0d13e18ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      metrixpp/tests/general/test_basic.py

+ 1 - 1
metrixpp/tests/general/test_basic.py

@@ -247,7 +247,7 @@ class Test(tests.common.TestCase):
                                          use_prev=True)
         self.assertExec(runner.run())
 
-        runner = tests.common.ToolRunner('collect', ['--std.code.complexity.cyclomatic', '--std.code.lines.code'], save_prev=False)
+        runner = tests.common.ToolRunner('collect', ['--std.code.complexity.cyclomatic', '--std.code.lines.code'], save_prev=True)
         self.assertExec(runner.run())
 
         runner = tests.common.ToolRunner('view', ['--format=prometheus'], prefix='prometheus')