Skip to content

Commit

Permalink
Restyled by prettier-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and cliffamzn committed Jul 25, 2023
1 parent 42d0d18 commit 72a588a
Showing 1 changed file with 47 additions and 17 deletions.
64 changes: 47 additions & 17 deletions src/app/tests/suites/TestResourceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,30 @@ config:
cluster: "Resource Monitor"
endpoint: 1
ReplacementProductList:
type: "ReplacementProductStruct"
defaultValue:
[
{ ProductIdentifierType: 0, ProductIdentifierValue: "111112222233" },
{ ProductIdentifierType: 1, ProductIdentifierValue: "gtin8xxx" },
{ ProductIdentifierType: 2, ProductIdentifierValue: "4444455555666" },
{ ProductIdentifierType: 3, ProductIdentifierValue: "gtin14xxxxxxxx" },
{ ProductIdentifierType: 4, ProductIdentifierValue: "oem20xxxxxxxxxxxxxxx" },
]
type: "ReplacementProductStruct"
defaultValue:
[
{
ProductIdentifierType: 0,
ProductIdentifierValue: "111112222233",
},
{
ProductIdentifierType: 1,
ProductIdentifierValue: "gtin8xxx",
},
{
ProductIdentifierType: 2,
ProductIdentifierValue: "4444455555666",
},
{
ProductIdentifierType: 3,
ProductIdentifierValue: "gtin14xxxxxxxx",
},
{
ProductIdentifierType: 4,
ProductIdentifierValue: "oem20xxxxxxxxxxxxxxx",
},
]

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand All @@ -42,11 +57,26 @@ tests:
command: "readAttribute"
attribute: "ReplacementProductList"
response:
value:
[
{ ProductIdentifierType: 0, ProductIdentifierValue: "111112222233" },
{ ProductIdentifierType: 1, ProductIdentifierValue: "gtin8xxx" },
{ ProductIdentifierType: 2, ProductIdentifierValue: "4444455555666" },
{ ProductIdentifierType: 3, ProductIdentifierValue: "gtin14xxxxxxxx" },
{ ProductIdentifierType: 4, ProductIdentifierValue: "oem20xxxxxxxxxxxxxxx" },
]
value:
[
{
ProductIdentifierType: 0,
ProductIdentifierValue: "111112222233",
},
{
ProductIdentifierType: 1,
ProductIdentifierValue: "gtin8xxx",
},
{
ProductIdentifierType: 2,
ProductIdentifierValue: "4444455555666",
},
{
ProductIdentifierType: 3,
ProductIdentifierValue: "gtin14xxxxxxxx",
},
{
ProductIdentifierType: 4,
ProductIdentifierValue: "oem20xxxxxxxxxxxxxxx",
},
]

0 comments on commit 72a588a

Please sign in to comment.