summaryrefslogtreecommitdiff
path: root/test/test_amixer.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_amixer.py')
-rwxr-xr-xtest/test_amixer.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/test_amixer.py b/test/test_amixer.py
index c8bd546..e4abc73 100755
--- a/test/test_amixer.py
+++ b/test/test_amixer.py
@@ -1,12 +1,9 @@
#!/usr/bin/env python3
-import sys, os.path
-sys.path.extend([
- os.path.realpath(os.path.join(os.path.dirname(os.path.join(__file__)), '..')),
-])
+import __py_include
from argparse import ArgumentParser
-from src.home.config import config
-from src.home.audio import amixer
+from homekit.config import config
+from homekit.audio import amixer
def validate_control(input: str):
@@ -28,7 +25,7 @@ if __name__ == '__main__':
parser.add_argument('--decr', type=str)
# parser.add_argument('--dump-config', action='store_true')
- args = config.load('test_amixer', parser=parser)
+ args = config.load_app('test_amixer', parser=parser)
# if args.dump_config:
# print(config.data)