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