The test model specifies the top-level container as structural, yet the
tests expect it to exist when empty. Mark the container as presence,
restoring behavior expected by tests.
Change-Id: Ided99720468a8bee14d5c66342e524450f5a9050
Signed-off-by: Robert Varga <rovarga@cisco.com>
+ presence "expected to exist when empty";
list car {
key name;
leaf name {
list car {
key name;
leaf name {
+ presence "needs to be present when empty";
+
leaf name {
type string;
}
leaf name {
type string;
}
+ presence "needs to be present when empty";
-}
\ No newline at end of file
+ presence "expected to exist when empty";
list person {
key name;
leaf name {
list person {
key name;
leaf name {
+ presence "needs to be present when empty";
+
list outer-list {
key id;
leaf id {
list outer-list {
key id;
leaf id {
-}
\ No newline at end of file
+ presence "needs to be present when empty";
+
list outer-list {
key id;
leaf id {
list outer-list {
key id;
leaf id {
-}
\ No newline at end of file