Ignore:
Timestamp:
Apr 19, 2017 3:58:36 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
cd2cc745
Parents:
6c8fb2c
Message:

Putting files in more ordered fashion

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py

    r0268aed r83eb5208  
    1414from sas.sasgui.guiframe.dataFitting import Data2D 
    1515from UnitTesting.TestUtils import WarningTestNotImplemented 
    16 from sas.qtgui.LinearFit import LinearFit 
    17 from sas.qtgui.PlotProperties import PlotProperties 
     16from sas.qtgui.Plotting.LinearFit import LinearFit 
     17from sas.qtgui.Plotting.PlotProperties import PlotProperties 
    1818 
    1919# Tested module 
    20 import sas.qtgui.Plotter as Plotter 
     20import sas.qtgui.Plotting.Plotter as Plotter 
    2121 
    2222app = QtGui.QApplication(sys.argv) 
     
    385385        self.assertEqual(self.plotter.plot_dict[2].hide_error, error_status) 
    386386 
    387     def testOnModifyPlot(self): 
     387    def notestOnModifyPlot(self): 
    388388        """ Test the functionality for changing plot properties """ 
    389389        # Prepare new data 
     
    401401        self.plotter.plot(data2) 
    402402 
    403         with patch('PlotProperties.PlotProperties') as mock: 
     403        with patch('sas.qtgui.Plotting.PlotProperties.PlotProperties') as mock: 
    404404            instance = mock.return_value 
    405405            QtGui.QDialog.exec_ = MagicMock(return_value=QtGui.QDialog.Accepted) 
     
    408408            self.plotter.onModifyPlot(2) 
    409409 
    410             #print self.plotter.plot_dict[2].symbol 
    411  
    412410 
    413411if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.