diff --git a/bin/backup b/bin/backup index ab70b69..a478ade 100644 --- a/bin/backup +++ b/bin/backup @@ -24,7 +24,7 @@ import sys from contextlib import contextmanager from subprocess import CalledProcessError -import rbackup.config as config +import rbackup.config.config_files as config import rbackup.rsync from rbackup.struct.repository import Repository diff --git a/rbackup/config/__init__.py b/rbackup/config/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/rbackup/config.py b/rbackup/config/config_files.py similarity index 100% rename from rbackup/config.py rename to rbackup/config/config_files.py diff --git a/tests/test_config.py b/tests/test_config.py index f6e8282..419e08e 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -8,11 +8,11 @@ from pathlib import Path from tempfile import NamedTemporaryFile from unittest.mock import patch -import rbackup.config as config +import rbackup.config.config_files as config # ========== Constants ========== -TESTING_PACKAGE = "rbackup" -TESTING_MODULE = f"{TESTING_PACKAGE}.config" +TESTING_PACKAGE = "rbackup.config" +TESTING_MODULE = f"{TESTING_PACKAGE}.config_files" # ========== Tests ==========