mirror of
https://github.com/kiviktnm/decman.git
synced 2026-09-19 12:08:28 +00:00
Extended the flatpak functionality to modules. All works as expected.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# pylint: disable=missing-module-docstring,missing-class-docstring,missing-function-docstring
|
||||
|
||||
from typing import override
|
||||
import unittest
|
||||
from decman.lib import Source, Store
|
||||
from decman import UserPackage, Module
|
||||
@@ -73,6 +74,9 @@ class EnabledTestModule(Module):
|
||||
def systemd_user_units(self) -> dict[str, list[str]]:
|
||||
return {"muser": ["M_u1.service"]}
|
||||
|
||||
def flatpak_packages(self) -> list[str]:
|
||||
return ["M_f1", "M_f2"]
|
||||
|
||||
|
||||
class DisabledTestModule(Module):
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user