Skip to content

Commit

Permalink
Test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutzen committed Jan 31, 2023
1 parent f38bb3c commit e5df3eb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions go/testdata/api/topology.t
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,22 @@ network:n1 = { ip = 10.1.1.0/24; }
Error: Can't modify unknown 'host:h1'
=END=
############################################################
=TITLE=Delete unknown host
=INPUT=
-- topology
network:n1 = { ip = 10.1.1.0/24; }
=JOB=
{
"method": "delete",
"params": {
"path": "host:h1"
}
}
=ERROR=
Error: Can't delete unknown 'host:h1'
=END=
############################################################
=TITLE=Remove host without network in path
=INPUT=
Expand Down

0 comments on commit e5df3eb

Please sign in to comment.