def METHOD_NAME(self):
    self.check(
        '/model/iris/',
        method='put',
        data=json.dumps({'url': 'iris.csv'}),
        request_headers={'Model-Retrain': 'True'},
    )
    r = self.check('/model/iris/data?').json()
    training_file = pd.read_csv(os.path.join(folder, 'iris.csv'), encoding='utf-8')
    eq_(len(r), len(training_file))