diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2023-04-04 19:00:44 +0100 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2023-04-11 17:52:05 +0100 |
commit | 96a2f7b1d9891d40cdeeaa657ee84af0d00dcc9b (patch) | |
tree | 067650443c5e2a939d21049e2b1e6d2911b0f13d /integration-test/src/test/resources/data/bookstore/bookstore.yang | |
parent | ce880216ec85aa12c1fda23c3abaf4bd16d9595d (diff) |
Migrate query tests to integration-test module #2
- Migrate some query tests to integration-test
- Edit bookstore model to add integer leaf-list 'editions'
- Lower cps-ri code coverage
Issue-ID: CPS-1597
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: If50bf15ad7d7f147448f6b60d464efc1cdc91005
Diffstat (limited to 'integration-test/src/test/resources/data/bookstore/bookstore.yang')
-rw-r--r-- | integration-test/src/test/resources/data/bookstore/bookstore.yang | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/integration-test/src/test/resources/data/bookstore/bookstore.yang b/integration-test/src/test/resources/data/bookstore/bookstore.yang index 2179fb93d..c3bfc50dc 100644 --- a/integration-test/src/test/resources/data/bookstore/bookstore.yang +++ b/integration-test/src/test/resources/data/bookstore/bookstore.yang @@ -21,37 +21,37 @@ module stores { type string; } - list categories { + list categories { - key "code"; + key "code"; - leaf code { - type string; - } - - leaf name { - type string; - } - - list books { - key title; - - leaf title { + leaf code { type string; } - leaf lang { - type string; - } - leaf-list authors { + + leaf name { type string; } - leaf pub_year { - type year; - } - leaf price { - type uint64; + + list books { + key title; + + leaf title { + type string; + } + leaf lang { + type string; + } + leaf-list authors { + type string; + } + leaf-list editions { + type year; + } + leaf price { + type uint64; + } } } } - } } |