mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-06 16:45:15 +02:00
Solved minor bugs
This commit is contained in:
parent
52f467c15c
commit
7950a3f517
@ -151,7 +151,7 @@ def main():
|
|||||||
playbook=playbook_file,
|
playbook=playbook_file,
|
||||||
modes=modes,
|
modes=modes,
|
||||||
limit=args.limit,
|
limit=args.limit,
|
||||||
allowed_applications=args.allowed_applications,
|
allowed_applications=args.id,
|
||||||
password_file=args.password_file,
|
password_file=args.password_file,
|
||||||
verbose=args.verbose,
|
verbose=args.verbose,
|
||||||
skip_tests=args.skip_tests
|
skip_tests=args.skip_tests
|
||||||
|
@ -2,16 +2,14 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
# Add the filter_plugins directory from the docker-matrix role to the import path
|
|
||||||
sys.path.insert(
|
sys.path.insert(
|
||||||
0,
|
0,
|
||||||
os.path.abspath(
|
os.path.abspath(
|
||||||
os.path.join(os.path.dirname(__file__), "../../../roles/docker-matrix")
|
os.path.join(os.path.dirname(__file__), "../../../roles/docker-matrix/filter_plugins")
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
from filter_plugins.bridge_filters import filter_enabled_bridges
|
from bridge_filters import filter_enabled_bridges
|
||||||
|
|
||||||
|
|
||||||
class TestBridgeFilters(unittest.TestCase):
|
class TestBridgeFilters(unittest.TestCase):
|
||||||
def test_no_bridges_returns_empty_list(self):
|
def test_no_bridges_returns_empty_list(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user