def METHOD_NAME(self):
    args = self._get_args()
    args['candidates'] = 'inline'
    args['eval_candidates'] = 'inline'
    valid, test = testing_utils.train_model(args)
    threshold = self._get_threshold()
    self.assertGreaterEqual(valid['hits@1'], threshold)