Rename package_managers package to plugins
This commit is contained in:
parent
28a09cf4e4
commit
46f15e2e82
@ -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
|
@ -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):
|
@ -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 ==========
|
||||||
|
Loading…
x
Reference in New Issue
Block a user