Skip to content

Commit

Permalink
squash: fix underscore usage
Browse files Browse the repository at this point in the history
  • Loading branch information
happz authored and psss committed Sep 30, 2024
1 parent b93cf07 commit 76cd36c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You may encounter this in the verbose log of ``tmt tests show`` or plan/test
imports.

:ref:`Result specification</spec/plans/results>` now defines
``original_result`` key holding the original outcome of a test, subtest
``original-result`` key holding the original outcome of a test, subtest
or test checks. The effective outcome, stored in ``result`` key, is
computed from the original outcome, and it is affected by inputs like
:ref:`test result interpretation</spec/tests/result>` or
Expand Down
10 changes: 5 additions & 5 deletions spec/plans/results.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ description: |
result: "pass"|"fail"|"info"|"warn"|"error"|"skip"

# String, the original outcome of the test execution.
original_result: "pass"|"fail"|"info"|"warn"|"error"|"skip"
original-result: "pass"|"fail"|"info"|"warn"|"error"|"skip"

# String, optional comment to report with the result.
note: "Things were great."
Expand Down Expand Up @@ -86,7 +86,7 @@ description: |
- result: "pass"|"fail"|"info"|"warn"|"error"|"skip"

# String, the original outcome of the check execution.
original_result: "pass"|"fail"|"info"|"warn"|"error"|"skip"
original-result: "pass"|"fail"|"info"|"warn"|"error"|"skip"

# String, optional comment to report with the result.
note: "Things were great."
Expand Down Expand Up @@ -124,7 +124,7 @@ description: |
result: "pass"|"fail"|"info"|"warn"|"error"|"skip"

# String, the original outcome of the phase execution.
original_result: "pass"|"fail"|"info"|"warn"|"error"|"skip"
original-result: "pass"|"fail"|"info"|"warn"|"error"|"skip"

# String, optional comment to report with the result.
note: "Things were great."
Expand Down Expand Up @@ -219,7 +219,7 @@ description: |
original test result in the custom result set to the value known
to tmt.

The ``original_result`` key holds the outcome of a test, check or
The ``original-result`` key holds the outcome of a test, check or
subresult as reported by the test, check or subresult itself, without
any additional influence.
A reported outcome may be a subject to interpretation, and tmt may
Expand Down Expand Up @@ -254,7 +254,7 @@ description: |
phase results are now renamed to the ``subresult`` key.

.. versionchanged:: 1.37
original result of test, subtest and check is stored in ``original_result`` key.
original result of test, subtest and check is stored in ``original-result`` key.

__ https://github.com/teemtee/tmt/blob/main/tmt/schemas/results.yaml

Expand Down
6 changes: 3 additions & 3 deletions tmt/schemas/results.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ definitions:
result:
$ref: "/schemas/common#/definitions/result_outcome"

original_result:
original-result:
$ref: "/schemas/common#/definitions/result_outcome"

note:
Expand Down Expand Up @@ -66,7 +66,7 @@ definitions:
result:
$ref: "/schemas/common#/definitions/result_outcome"

original_result:
original-result:
$ref: "/schemas/common#/definitions/result_outcome"

note:
Expand Down Expand Up @@ -126,7 +126,7 @@ items:
result:
$ref: "/schemas/common#/definitions/result_outcome"

original_result:
original-result:
$ref: "/schemas/common#/definitions/result_outcome"

context:
Expand Down

0 comments on commit 76cd36c

Please sign in to comment.