def METHOD_NAME(self):
    # Test os.curdir.
    ff = grep.findfiles
    save_cwd = os.getcwd()
    os.chdir(self.path)
    filename = 'test_grep.py'
    filelist = list(ff(os.curdir, filename, False))
    self.assertIn(os.path.join(os.curdir, filename), filelist)
    os.chdir(save_cwd)