Changeset 7c487846 in sasview for src/sas/qtgui/Perspectives/Invariant/UnitTesting/InvariantDetailsTest.py
- Timestamp:
- Nov 14, 2017 6:04:41 AM (7 years ago)
- 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:
- fa81e94
- Parents:
- f1f3e6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/UnitTesting/InvariantDetailsTest.py
rf1f3e6a r7c487846 8 8 from PyQt5.QtTest import QTest 9 9 from PyQt5.QtCore import Qt 10 from mock import MagicMock11 from mock import patch10 from unittest.mock import MagicMock 11 from unittest.mock import patch 12 12 13 13 from twisted.internet import threads … … 138 138 self.widget.qstar_total = 10 139 139 self.widget.progress_qstar = 'error' 140 self.assert Equal(self.widget.checkValues(), "Error occurred when computing invariant from data.\n Invariant Q contribution is greater than 100% .\n")140 self.assertIn("Error occurred when computing invariant from data.", self.widget.checkValues()) 141 141 142 142 self.widget.progress_qstar = 0
Note: See TracChangeset
for help on using the changeset viewer.