def test_functionRedefinedAsClass():
    flakes('''
    def Foo():
        pass
    class Foo:
        pass
    ''', m.RedefinedWhileUnused)
Checks whether given file_storage_dir is valid.
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_functionRedefinedAsClass--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/_TransformFileStorageDir