'When findall is called with no parameters or with
\'.\' as the parameter, the dot should be omitted from
the results.'

def test_basic_discovery(self):

    with test.support.temp_cwd():
        os.mkdir('foo')
        file1 = os.path.join('foo', 'file1.txt')
        test.support.create_empty_file(file1)
        os.mkdir('bar')
        file2 = os.path.join('bar', 'file2.txt')
        test.support.create_empty_file(file2)
        expected = [file2, file1]
        self.assertEqual(sorted(filelist.findall()), expected)
