Skip to content

Commit ccd84b0

Browse files
tbsuhtrjarry
authored andcommitted
tests: adjust due to new attribute returned
sysrepo returns also an "location" attribute now. Signed-off-by: Bagg Tobias (ETAS-DAP/XPC-Fe3) <[email protected]>
1 parent 78720bd commit ccd84b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_session.py

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import time
88
import types
99
import unittest
10+
from unittest.mock import ANY
1011

1112
import sysrepo
1213

@@ -63,6 +64,7 @@ def test_session_get_data(self):
6364
"name": "sysrepo-example",
6465
"namespace": "n",
6566
"feature": ["turbo"],
67+
"location": ANY,
6668
}
6769
self.assertIn(modinfo, data)
6870

0 commit comments

Comments
 (0)