Skip to content

Commit fdf019e

Browse files
committed
Make assertion less specific so it doesn't assert on implementation details and
works with older and newer versions of mongoengine.
1 parent 1976844 commit fdf019e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

robotfm_tests/docs/quickstart_sample_rule_with_webhook.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
${result}= Run Process st2 rule create /usr/share/doc/st2/examples/rules/sample_rule_with_webhook.yaml -j
3636
Should Contain ${result.stdout} ERROR: 409 Client Error: Conflict
3737
Should Contain ${result.stdout} MESSAGE: Tried to save duplicate unique keys
38-
Should Contain ${result.stdout} duplicate key error collection: st2.rule_d_b index: uid_1 dup key: { : "rule:examples:sample_rule_with_webhook" }) for url:
38+
Should Contain ${result.stdout} duplicate key error
39+
Should Contain ${result.stdout} { : "rule:examples:sample_rule_with_webhook" }
3940
4041
Verify rule status
4142
${TOKEN}= Run Process st2 auth -p Ch@ngeMe st2admin -t shell=True

0 commit comments

Comments
 (0)