Changeset fa4af76 in sasview for test/sasguiframe


Ignore:
Timestamp:
Apr 7, 2017 9:51:47 AM (8 years ago)
Author:
Ricardo Ferraz Leal <ricleal@…>
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
168d359
Parents:
ccc7192
Message:

Refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sasguiframe/test/utest_manipulations.py

    rfd5d6eac rfa4af76  
    1111 
    1212from sas.sascalc.dataloader.loader import Loader 
    13 from sas.sasgui.guiframe.dataFitting import Data1D as Theory1D 
     13from sas.sasgui.guiframe.dataFitting import Data1D 
    1414from sas.sasgui.guiframe.dataFitting import Data2D 
    1515 
    1616 
    17 class data_info_tests(unittest.TestCase): 
     17class DataInfoTests(unittest.TestCase): 
    1818 
    1919    def setUp(self): 
     
    3232 
    3333 
    34 class theory1d_tests(unittest.TestCase): 
     34class Theory1DTests(unittest.TestCase): 
    3535 
    3636    def setUp(self): 
     
    4242            Test basic cloning 
    4343        """ 
    44         theory = Theory1D(x=[], y=[], dy=None) 
     44        theory = Data1D(x=[], y=[], dy=None) 
    4545        theory.clone_without_data(clone=self.data) 
    4646        theory.copy_from_datainfo(data1d=self.data) 
     
    5555 
    5656 
    57 class manip_tests(unittest.TestCase): 
     57class ManipTests(unittest.TestCase): 
    5858 
    5959    def setUp(self): 
     
    160160 
    161161 
    162 class manip_2D(unittest.TestCase): 
     162class Manin2DTests(unittest.TestCase): 
    163163 
    164164    def setUp(self): 
     
    270270 
    271271 
    272 class extra_manip_2D(unittest.TestCase): 
     272class ExtraManip2DTests(unittest.TestCase): 
    273273 
    274274    def setUp(self): 
Note: See TracChangeset for help on using the changeset viewer.