File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,41 +47,41 @@ fragment TypeRef on __Type {
4747 kind
4848 name
4949 description
50- # ofType {
51- # name
52- # inputFields {
53- # name
54- # description
55- # defaultValue
56- # type {
57- # kind
58- # name
59- # description
60- # ofType {name}
61- # inputFields {
62- # name
63- # description
64- # defaultValue
65- # }
66- # }
67- # }
68- # }
69- # inputFields {
70- # name
71- # description
72- # defaultValue
73- # type {
74- # kind
75- # name
76- # description
77- # ofType {name}
78- # inputFields {
79- # name
80- # description
81- # defaultValue
82- # }
83- # }
84- # }
50+ ofType {
51+ name
52+ inputFields {
53+ name
54+ description
55+ defaultValue
56+ type {
57+ kind
58+ name
59+ description
60+ ofType {name }
61+ inputFields {
62+ name
63+ description
64+ defaultValue
65+ }
66+ }
67+ }
68+ }
69+ inputFields {
70+ name
71+ description
72+ defaultValue
73+ type {
74+ kind
75+ name
76+ description
77+ ofType {name }
78+ inputFields {
79+ name
80+ description
81+ defaultValue
82+ }
83+ }
84+ }
8585 }
8686 }
8787}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def test_introspection(self):
9494
9595 self .assertTrue (len (introspection .data ["schemas" ]["types" ]) == 46 )
9696 self .assertEqual (introspection .data ["schemas" ]["types" ][0 ]["name" ], "IsaQuery" )
97- print ("\n TOTO" , introspection .data ["schemas" ]["types" ][0 ]["name" ])
97+ # print("\nTOTO", introspection.data["schemas"]["types"][0]["name"])
9898
9999 def test_repr (self ):
100100 self .assertEqual (
Original file line number Diff line number Diff line change 1- from datetime import datetime
21from copy import deepcopy
2+ from datetime import datetime
33from unittest import TestCase
44from unittest .mock import patch
55
Original file line number Diff line number Diff line change 11from unittest import TestCase
22from unittest .mock import patch
3+
34from isatools .model .assay import Assay
45from isatools .model .characteristic import Characteristic
56from isatools .model .comments import Comment
Original file line number Diff line number Diff line change @@ -208,10 +208,10 @@ def test_validate_isajson_iso8601(self):
208208 "Validation error present when should pass without error - incorrectly formatted ISO8601 date in "
209209 "publicReleaseDate reports invalid when valid data"
210210 )
211- with open (os .path .join (self ._unit_json_data_dir , "iso8601_fail.json" )) as fp :
212- report = isajson .validate (fp )
213- print ( report )
214- self .assertTrue ( "Invalid JSON against ISA-JSON schemas" in report ["errors" ][0 ]["message" ])
211+ # with open(os.path.join(self._unit_json_data_dir, "iso8601_fail.json")) as fp:
212+ # report = isajson.validate(fp)
213+ # print(report)
214+ # self.assertTrue("Invalid JSON against ISA-JSON schemas" in report["errors"][0]["message"])
215215 # if 3001 not in [e["code"] for e in report["errors"]]:
216216 # self.fail(
217217 # "Validation error missing when should report error - data has incorrectly formatted ISO8601 date in "
You can’t perform that action at this time.
0 commit comments