From 0563bd922f2df703a0ed9dc599e81de6a76237f7 Mon Sep 17 00:00:00 2001 From: Viktor UZLOV Date: Tue, 22 Sep 2020 09:00:26 +0300 Subject: [PATCH] CurvePlot test breaks. fix mockup --- tools/CurvePlot/src/python/test/PlotTestBase.py | 4 ++-- .../test/{SalomePyQt_MockUp.py => SalomePyQt_MockUp.py.in} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename tools/CurvePlot/src/python/test/{SalomePyQt_MockUp.py => SalomePyQt_MockUp.py.in} (100%) diff --git a/tools/CurvePlot/src/python/test/PlotTestBase.py b/tools/CurvePlot/src/python/test/PlotTestBase.py index 7e9e5090b..a6f45125f 100644 --- a/tools/CurvePlot/src/python/test/PlotTestBase.py +++ b/tools/CurvePlot/src/python/test/PlotTestBase.py @@ -81,7 +81,7 @@ class PlotTestBase(unittest.TestCase): def setUp(self): import sys - from SalomePyQt_MockUp import SalomePyQt + from mockup.SalomePyQt_MockUp import SalomePyQt from curveplot.TableModel import TableModel from curveplot.CurveModel import CurveModel from curveplot.XYPlotSetModel import XYPlotSetModel @@ -95,7 +95,7 @@ class PlotTestBase(unittest.TestCase): self.tmpDir = None # Minimal UI setup: - #self.app = QApplication(sys.argv) + self.app = QApplication(sys.argv) desktop = TestDesktop(None) self.sgPyQt = SalomePyQt(desktop) desktop._sgPyQt = self.sgPyQt diff --git a/tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py b/tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in similarity index 100% rename from tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py rename to tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in -- 2.39.2