homekeeper/testing.py
def _replace_modules(fake_fs, fake_os, fake_shutil):
    """Replaces filesystem modules and functions with fakes."""
    homekeeper.os = fake_os
    homekeeper.shutil = fake_shutil
    homekeeper.config.os = fake_os
    homekeeper.config.shutil = fake_shutil
    homekeeper.testing.os = fake_os
    homekeeper.util.fopen = fake_filesystem.FakeFileOpen(fake_fs)
    homekeeper.util.os = fake_os
    homekeeper.util.shutil = fake_shutil
Replaces filesystem modules and functions with fakes.
Replaces filesystem modules and functions with fakes.
Replaces filesystem modules and functions with fakes .
def _replace_modules(fake_fs, fake_os, fake_shutil):
    homekeeper.os = fake_os
    homekeeper.shutil = fake_shutil
    homekeeper.config.os = fake_os
    homekeeper.config.shutil = fake_shutil
    homekeeper.testing.os = fake_os
    homekeeper.util.fopen = fake_filesystem.FakeFileOpen(fake_fs)
    homekeeper.util.os = fake_os
    homekeeper.util.shutil = fake_shutil
def _replace_modules ( fake_fs , fake_os , fake_shutil ) : homekeeper . os = fake_os homekeeper . shutil = fake_shutil homekeeper . config . os = fake_os homekeeper . config . shutil = fake_shutil homekeeper . testing . os = fake_os homekeeper . util . fopen = fake_filesystem . FakeFileOpen ( fake_fs ) homekeeper . util . os = fake_os homekeeper . util . shutil = fake_shutil
Replaces filesystem modules and functions with fakes.
Replaces filesystem modules and functions with fakes .
"""Replaces filesystem modules and functions with fakes."""
fake_fs
fake_os
fake_shutil