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', id=100)
    cls.c = Client()
    cls.c.force_login(cls.user, backend=settings.AUTHENTICATION_BACKENDS[0])
    cls.dir = Directory.objects.create(name='Yggdrasil', owner=cls.user).root
    shutil.rmtree(os.path.join(cls.dir))
    shutil.copytree(RES_DIR, cls.dir)