1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +00:00

Fix missing items from Device.platform refactor

This commit is contained in:
thatmattlove 2021-09-17 01:11:18 -07:00
parent 2474dc1761
commit 6bc6cf0e1c
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ from hyperglass.log import log
from hyperglass.types import Series
# Local
from ._base import DirectivePlugin, PlatformPlugin, HyperglassPlugin
from ._base import PlatformPlugin, DirectivePlugin, HyperglassPlugin
if TYPE_CHECKING:
# Project

View file

@ -33,9 +33,9 @@ def _tester(sample: str):
address="127.0.0.1",
network={"name": "Test Network", "display_name": "Test Network"},
credential={"username": "", "password": ""},
type="juniper",
platform="juniper",
structured_output=True,
commands=[{"id": "test", "name": "Test", "rules": []}],
directives=[{"id": "test", "name": "Test", "rules": []}],
)
# Override has_directives method for testing.