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: sysrepo#69
Signed-off-by: tbsuht <[email protected]>
  • Loading branch information
tbsuht committed Jul 1, 2024
1 parent 8e358d5 commit 8f9c0bc
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 8f9c0bc

Please sign in to comment.