Skip to content

Commit e220ec5

Browse files
authored
Fixes a bug with validation (#12)
The validator assumed it would get a dictionary, this is not the case.
1 parent 606a072 commit e220ec5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/etos_api/lib/validator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,5 @@ def validate(self):
178178
:raises ValidationError: If the suite did not validate.
179179
"""
180180
downloaded_suite = self._download_suite()
181-
assert Suite(**downloaded_suite)
181+
for suite in downloaded_suite:
182+
assert Suite(**suite)

0 commit comments

Comments
 (0)