forked from mirrors/thatmattlove-hyperglass
Fix missing items from Device.platform refactor
This commit is contained in:
parent
2474dc1761
commit
6bc6cf0e1c
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue