def METHOD_NAME(self):
    self.load_pilatus1M_image_and_calibration()
    self.model.clicked_tth_changed.emit(5)
    new_pos = self.widget.integration_pattern_widget.pattern_view.pos_line.getPos()[0]
    self.assertEqual(new_pos, 5)
    click_button(self.widget.integration_pattern_widget.q_btn)
    self.model.clicked_tth_changed.emit(3)
    new_pos = self.widget.integration_pattern_widget.pattern_view.pos_line.getPos()[0]
    self.assertAlmostEqual(new_pos, convert_units(3, self.model.calibration_model.wavelength, '2th_deg', 'q_A^-1'))