Skip to content

Commit

Permalink
enable tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Adams committed Mar 22, 2022
1 parent e3aac31 commit 498e4f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ga4gh/testbed/report/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from ga4gh.testbed.mixins.has_message import HasMessage
from ga4gh.testbed.report.case import Case

class Test(HasTimestamps, HasStatus, HasSummary):
class Test(HasTimestamps, HasStatus, HasSummary, HasMessage):
"""A single test within the reporting hierarchy, contains multiple cases
Immediate subcomponent of a test "Phase". Represents a single test with
Expand Down
3 changes: 3 additions & 0 deletions schema/ga4gh-testbed-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"summary": {
"$ref": "ga4gh-testbed-summary.json#/definitions/ga4ghTestbedSummary"
},
"message": {
"type": "string"
},
"cases": {
"type": "array",
"items": {
Expand Down
4 changes: 4 additions & 0 deletions tests/data/e2e/report_finalization_serialization/0.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"failed": 0,
"skipped": 1
},
"message": "",
"cases": [
{
"case_name": "Get e. coli",
Expand Down Expand Up @@ -82,6 +83,7 @@
"failed": 0,
"skipped": 0
},
"message": "",
"cases": [
{
"case_name": "List bacterial sequences",
Expand Down Expand Up @@ -132,6 +134,7 @@
"failed": 1,
"skipped": 0
},
"message": "",
"cases": [
{
"case_name": "Get synonymous mutation",
Expand Down Expand Up @@ -166,6 +169,7 @@
"failed": 0,
"skipped": 2
},
"message": "",
"cases": [
{
"case_name": "List synonymous mutations",
Expand Down

0 comments on commit 498e4f5

Please sign in to comment.