Changeset 2155824 in sasview for src/sas/qtgui/UnitTesting


Ignore:
Timestamp:
Apr 6, 2017 5:58:54 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:
d7ff531
Parents:
454670d
Message:

Updated/fixed unit tests after recent functionality changes

Location:
src/sas/qtgui/UnitTesting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/UnitTesting/DataExplorerTest.py

    r0268aed r2155824  
    418418 
    419419        # Expected two status bar updates 
    420         self.assertEqual(spy_status_update.count(), 1) 
     420        self.assertEqual(spy_status_update.count(), 2) 
    421421        self.assertIn(filename[0], str(spy_status_update.called()[0]['args'][0])) 
    422422 
  • src/sas/qtgui/UnitTesting/GuiManagerTest.py

    r6fd4e36 r2155824  
    148148        self.manager.processVersion = MagicMock() 
    149149        version = {'update_url'  : 'http://www.sasview.org/sasview.latestversion',  
    150                    'version'     : '4.0.1', 
     150                   'version'     : '4.1.0', 
    151151                   'download_url': 'https://github.com/SasView/sasview/releases'} 
    152152        self.manager.checkUpdate() 
Note: See TracChangeset for help on using the changeset viewer.