

def _has_uploaded_file(self, name, start=None, end=None):
    ts_from = (start or end._start_ts)
    ts_to = (end or time.time())
    response = self.slacker.files.list(user=self.testbot_userid, ts_from=ts_from, ts_to=ts_to)
    for f in response.body['files']:
        if (f['name'] == name):
            return True
    return False

dataset/ETHPy150Open lins05/slackbot/tests/functional/driver.py Driver._has_uploaded_file/VarMisuse@25/32 `self`->`end`