Skip to content

Commit 975b5ce

Browse files
committed
test UPDATE schema-mount contexts are stored now
1 parent f313632 commit 975b5ce

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/utests/extensions/test_schema_mount.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,6 @@ static void
16911691
test_lys_getnext(void **state)
16921692
{
16931693
const struct lysc_node *parent, *node;
1694-
struct ly_ctx *sm_ctx;
16951694

16961695
ly_ctx_set_ext_data_clb(UTEST_LYCTX, test_ext_data_clb,
16971696
"<yang-library xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\" "
@@ -1765,7 +1764,6 @@ test_lys_getnext(void **state)
17651764
node = lys_getnext(NULL, parent, NULL, LYS_GETNEXT_WITHSCHEMAMOUNT);
17661765
assert_non_null(node);
17671766
assert_string_equal(node->name, "schema-mounts");
1768-
sm_ctx = node->module->ctx;
17691767

17701768
node = lys_getnext(node, parent, NULL, LYS_GETNEXT_WITHSCHEMAMOUNT);
17711769
assert_non_null(node);
@@ -1785,8 +1783,6 @@ test_lys_getnext(void **state)
17851783

17861784
node = lys_getnext(node, parent, NULL, LYS_GETNEXT_WITHSCHEMAMOUNT);
17871785
assert_null(node);
1788-
1789-
ly_ctx_destroy(sm_ctx);
17901786
}
17911787

17921788
int

0 commit comments

Comments
 (0)