We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819952a commit d0382e2Copy full SHA for d0382e2
tests/test_validate_job_schema.py
@@ -155,7 +155,7 @@ def test_validate_image_cores_1():
155
# Arrange
156
text: Dict[str, Any] = deepcopy(_MINIMAL)
157
demo_job: Dict[str, Any] = text["jobs"]["demo"]
158
- demo_job["image"]["cores"] = 1
+ demo_job["image"]["cores"] = "1"
159
160
# Act
161
error = decoder.validate_job_schema(text)
@@ -168,7 +168,7 @@ def test_validate_image_cores_99():
168
169
170
171
- demo_job["image"]["cores"] = 99
+ demo_job["image"]["cores"] = "99"
172
173
174
0 commit comments