Navigation Menu

Skip to content

Commit

Permalink
add test for file/exists
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Apr 10, 2018
1 parent e4c237c commit 7a7ef24
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Tests/dsl/good/UnitTestOK022_file.yml
Expand Up @@ -155,7 +155,40 @@
test:
equals: 15

-
type: file
mode: exists
file: reference:kmb_test_22_y
references:
-
attribute: exists
identifier: aaa11

-
type: assert
target: reference
identifier: reference:aaa11
test:
equals: true

-
type: file
mode: delete
file: reference:kmb_test_22_y

-
type: file
mode: exists
file: reference:kmb_test_22_y
references:
-
attribute: exists
identifier: aaa11
overwrite: true

-
type: assert
target: reference
identifier: reference:aaa11
test:
equals: false

0 comments on commit 7a7ef24

Please sign in to comment.