def METHOD_NAME(cls):
    if os.path.isdir(FAKE_FB_ROOT):
        shutil.rmtree(FAKE_FB_ROOT)
    cls.user = User.objects.create_user(username='user', password='12345')
    cls.dir = Directory.objects.create(name='Yggdrasil', owner=cls.user)
    cls.lib = Directory.objects.create(name='lib', owner=cls.user)
    command('git init ' + os.path.join(cls.dir.root, 'repo1'))
    # FAKE_FB_ROOT/
    # ├── 100/
    # │   ├── repo1/
    # |   | ├──file1.pl
    # |   | └──file2.pl
    # │   ├── dir1/
    # |   | ├──file3.pl
    # ├── lib/
    # │   ├── dir2/
    # |   | └──file4.pl
    file1 = os.path.join(cls.dir.root, 'repo1/file1.pl')
    file2 = os.path.join(cls.dir.root, 'repo1/file2.pl')
    file3 = os.path.join(cls.dir.root, 'dir1/file3.pl')
    file4 = os.path.join(cls.lib.root, 'dir2/file4.pl')
    # os.path.dirname(file[1,2]) created by the git init above
    open(file1, "w+").close()
    open(file2, "w+").close()
    os.makedirs(os.path.dirname(file3))
    open(file3, "w+").close()
    os.makedirs(os.path.dirname(file4))
    open(file4, "w+").close()