Rename package_managers package to plugins

This commit is contained in:
Eric Torres 2019-04-15 10:40:06 -07:00
parent 28a09cf4e4
commit 46f15e2e82
5 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
""" """
.. moduleauthor:: Eric Torres .. moduleauthor:: Eric Torres
.. module:: rbackup.package_managers.packagemanager .. module:: rbackup.plugins.packagemanager
:synopsis: Module for package manager plugins. :synopsis: Module for package manager plugins.
""" """
import logging import logging

View File

@ -1,9 +1,9 @@
""" """
.. moduleauthor:: Eric Torres .. moduleauthor:: Eric Torres
.. module:: rbackup.package_managers.pacman .. module:: rbackup.plugins.pacman
:synopsis: Implementation class for the Pacman package manager. :synopsis: Implementation class for the Pacman package manager.
""" """
from rbackup.package_managers.packagemanager import PackageManager from rbackup.plugins.packagemanager import PackageManager
class Pacman(PackageManager): class Pacman(PackageManager):

View File

@ -10,10 +10,11 @@ from unittest.mock import patch
from hypothesis import given from hypothesis import given
from hypothesis.strategies import from_regex, iterables, one_of, text from hypothesis.strategies import from_regex, iterables, one_of, text
from rbackup.package_managers.packagemanager import PackageManager from rbackup.plugins.packagemanager import PackageManager
# ========== Constants ========== # ========== Constants ==========
TESTING_MODULE = "rbackup.package_managers.packagemanager" TESTING_PACKAGE = "rbackup.plugins"
TESTING_MODULE = f"{TESTING_PACKAGE}.packagemanager"
# ========== Test Cases ========== # ========== Test Cases ==========