Changeset 186d678 in sasview for src/sas/qtgui/Perspectives/Fitting/UnitTesting
- Timestamp:
- Oct 31, 2018 6:08:16 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 48df831
- Parents:
- b1b71ad (diff), 04e1c80 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- src/sas/qtgui/Perspectives/Fitting/UnitTesting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingWidgetTest.py
r2eeda93 r186d678 185 185 186 186 # Observe no such luck 187 self.assertEqual(self.widget.cbCategory.currentIndex(), 7)187 self.assertEqual(self.widget.cbCategory.currentIndex(), 6) 188 188 self.assertEqual(self.widget.cbModel.count(), 29) 189 189 … … 219 219 # 220 220 # Now change the model 221 <<<<<<< HEAD 221 222 self.widget.cbModel.setCurrentIndex(4) 223 ======= 224 self.widget.cbModel.setCurrentIndex(2) 225 >>>>>>> ESS_GUI 222 226 self.assertEqual(self.widget.cbModel.currentText(),'dab') 223 227 -
src/sas/qtgui/Perspectives/Fitting/UnitTesting/ComplexConstraintTest.py
r725d9c06 r2eeda93 34 34 category_index = self.tab1.cbCategory.findText("Shape Independent") 35 35 self.tab1.cbCategory.setCurrentIndex(category_index) 36 model_index = self.tab1.cbModel.findText("be_polyelectrolyte") 37 self.tab1.cbModel.setCurrentIndex(model_index) 38 36 39 category_index = self.tab2.cbCategory.findText("Cylinder") 37 40 self.tab2.cbCategory.setCurrentIndex(category_index) 41 model_index = self.tab2.cbModel.findText("barbell") 42 self.tab2.cbModel.setCurrentIndex(model_index) 38 43 39 44 tabs = [self.tab1, self.tab2]
Note: See TracChangeset
for help on using the changeset viewer.