Skip to content

Commit 0d6f71a

Browse files
committed
Fix behave test for repairwc command
1 parent f634c9f commit 0d6f71a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

behave/features/repairwc.feature

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ Scenario: Run `osc repairwc` on a project without .osc/_osclib_version
1717
And I set working directory to "{context.osc.temp}/test:factory"
1818
And I remove file "{context.osc.temp}/test:factory/.osc/_osclib_version"
1919
When I execute osc with args "status"
20-
Then the exit code is 0
21-
And file "{context.osc.temp}/test:factory/.osc/_osclib_version" does not exist
22-
When I execute osc with args "repairwc"
23-
Then the exit code is 0
24-
When I execute osc with args "status"
20+
# assume store version 1.0 for a project
2521
Then the exit code is 0
2622
And file "{context.osc.temp}/test:factory/.osc/_osclib_version" exists
2723

@@ -45,7 +41,5 @@ Scenario: Run `osc repairwc` on a package without .osc/_osclib_version
4541
Then the exit code is 1
4642
And file "{context.osc.temp}/test:factory/test-pkgA/.osc/_osclib_version" does not exist
4743
When I execute osc with args "repairwc"
48-
Then the exit code is 0
49-
When I execute osc with args "status"
50-
Then the exit code is 0
51-
And file "{context.osc.temp}/test:factory/test-pkgA/.osc/_osclib_version" exists
44+
# no assumption about the store version for a package
45+
Then the exit code is 1

0 commit comments

Comments
 (0)