Kaynağa Gözat

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

Greg Junkietech 4 yıl önce
ebeveyn
işleme
e0d13e18ec
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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')