Skip to content

Commit

Permalink
tests: adjust due to new attribute returned
Browse files Browse the repository at this point in the history
sysrepo returns also an "location" attribute now.

Fixes: #69
Signed-off-by: Bagg Tobias (ETAS-DAP/XPC-Fe3) <[email protected]>
  • Loading branch information
tbsuht committed Jul 1, 2024
1 parent 533e29b commit 7d2f73d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import time
import types
import unittest
from unittest.mock import ANY

import sysrepo

Expand Down Expand Up @@ -63,6 +64,7 @@ def test_session_get_data(self):
"name": "sysrepo-example",
"namespace": "n",
"feature": ["turbo"],
"location": ANY,
}
self.assertIn(modinfo, data)

Expand Down

0 comments on commit 7d2f73d

Please sign in to comment.