def setup(self):
     constraints = Mock()
     constraints.is_fully_constrained.return_value = True
     self.calc = YouHklCalculator(createMockUbcalc(None),
                                  createMockDiffractometerGeometry(),
                                  createMockHardwareMonitor(),
                                  constraints)
 def setUp(self):
     self.hw = createMockHardwareMonitor()
     self.ms = ModeSelector(createMockDiffractometerGeometry())
     self.pm = VliegParameterManager(createMockDiffractometerGeometry(),
                                     self.hw, self.ms)
 def setup(self):
     self.calc = YouHklCalculator(createMockUbcalc(None),
                                  createMockDiffractometerGeometry(),
                                  createMockHardwareMonitor(),
                                  Mock())
 def setup(self):
     self.calc = YouHklCalculator(createMockUbcalc(I * 2 * pi),
                                  createMockDiffractometerGeometry(),
                                  createMockHardwareMonitor(),
                                  Mock())
     self.e = 12.398420  # 1 Angstrom
Esempio n. 5
0
 def setup_method(self):
     constraints = Mock()
     constraints.is_fully_constrained.return_value = True
     self.calc = YouHklCalculator(createMockUbcalc(None),
                                  createMockDiffractometerGeometry(),
                                  createMockHardwareMonitor(), constraints)
Esempio n. 6
0
 def setup_method(self):
     self.calc = YouHklCalculator(createMockUbcalc(None),
                                  createMockDiffractometerGeometry(),
                                  createMockHardwareMonitor(), Mock())
Esempio n. 7
0
 def setup_method(self):
     self.calc = YouHklCalculator(createMockUbcalc(I * 2 * pi),
                                  createMockDiffractometerGeometry(),
                                  createMockHardwareMonitor(), Mock())
     self.e = 12.398420  # 1 Angstrom
 def setup_method(self):
     self.hw = createMockHardwareMonitor()
     self.ms = ModeSelector(createMockDiffractometerGeometry())
     self.pm = VliegParameterManager(createMockDiffractometerGeometry(),
                                     self.hw, self.ms)