Commit 05047eac authored by Pavel Spirek's avatar Pavel Spirek

Minor code changes to reflect new project structure

parent 8bbfc1f0
......@@ -8,7 +8,7 @@ import sys
from enum import Enum, unique
from colorlog import error, warning as warn, info, debug
from typing import List, Any, Dict, TypeVar, Tuple, Set
from yang_json_path import YangJsonPath
from jetconf.yang_json_path import YangJsonPath
import copy
JsonNodeT = Dict[str, Any]
......@@ -404,7 +404,7 @@ if __name__ == "__main__":
_rpc = NacmRpc(nacm, None, "dominik")
_rpc.check_data_read(_node, _doc)
print("result = {}".format(_doc.root))
if _doc.root == {'group': [None, {'user-name': ['lada', 'pavel', 'dominik'], 'name': 'users'}]}:
if _doc.root == {'group': [None, {'user-name': ['lada', 'pavel', 'dominik', 'lojza@mail.cz'], 'name': 'users'}]}:
info("OK")
else:
warn("FAILED")
......@@ -11,8 +11,8 @@ from colorlog import error, warning as warn, info, debug
from typing import List, Tuple, Dict, Any
import yaml
import copy
import nacm
import yang_json_path
from jetconf import nacm
from jetconf import yang_json_path
from h2.connection import H2Connection
from h2.events import DataReceived, RequestReceived, RemoteSettingsChanged
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment