def METHOD_NAME(self):
    # test that the module attempts to change the release when the current
    # release is not the same as the user-specific target release
    set_module_args({'release': '7.5'})
    self.module_main_command.side_effect = [
        # first call, get_release: returns different version so set_release is called
        (0, '7.4', ''),
        # second call, set_release: just needs to exit with 0 rc
        (0, '', ''),
    ]
    result = self.module_main(AnsibleExitJson)
    self.assertTrue(result['changed'])
    self.assertEqual('7.5', result['current_release'])
    self.module_main_command.assert_has_calls([
        call(['/testbin/subscription-manager', 'release', '--show'], **self.SUBMAN_KWARGS),
        call(['/testbin/subscription-manager', 'release', '--set', '7.5'], **self.SUBMAN_KWARGS),
    ])