Pārlūkot izejas kodu

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

Greg Junkietech 4 gadi atpakaļ
vecāks
revīzija
e0d13e18ec
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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')