homekeeper/testing.py
def init():
    """Create a fake filesystem and and use it in all modules.

    Returns:
        The created fake filesystem object and os module.
    """
    fake_fs = fake_filesystem.FakeFilesystem()
    fake_os = _create_fake_os(fake_fs)
    fake_shutil = fake_filesystem_shutil.FakeShutilModule(fake_fs)
    _replace_modules(fake_fs, fake_os, fake_shutil)
    _create_test_files()
    return (fake_fs, fake_os, fake_shutil)
Create a fake filesystem and and use it in all modules.

    Returns:
        The created fake filesystem object and os module.
    
Create a fake filesystem and and use it in all modules.
Create a fake filesystem and and use it in all modules .
def init():
    fake_fs = fake_filesystem.FakeFilesystem()
    fake_os = _create_fake_os(fake_fs)
    fake_shutil = fake_filesystem_shutil.FakeShutilModule(fake_fs)
    _replace_modules(fake_fs, fake_os, fake_shutil)
    _create_test_files()
    return (fake_fs, fake_os, fake_shutil)
def init ( ) : fake_fs = fake_filesystem . FakeFilesystem ( ) fake_os = _create_fake_os ( fake_fs ) fake_shutil = fake_filesystem_shutil . FakeShutilModule ( fake_fs ) _replace_modules ( fake_fs , fake_os , fake_shutil ) _create_test_files ( ) return ( fake_fs , fake_os , fake_shutil )
Create a fake filesystem and and use it in all modules.
Create a fake filesystem and and use it in all modules .
"""Create a fake filesystem and and use it in all modules.

    Returns:
        The created fake filesystem object and os module.
    """
The created fake filesystem object and os module.
The created fake filesystem object and os module .