|
|
|
@@ -402,10 +402,12 @@ class LearnwareClient: |
|
|
|
) |
|
|
|
|
|
|
|
if learnware is None: |
|
|
|
raise Exception("The learnware is not valid.") |
|
|
|
raise Exception("The learnware has passed the check.") |
|
|
|
|
|
|
|
assert LearnwareClient._check_stat_specification(learnware), "Stat specification check failed!" |
|
|
|
|
|
|
|
logger.info("The learnware passed the test.") |
|
|
|
|
|
|
|
def cleanup(self): |
|
|
|
for tempdir in self.tempdir_list: |
|
|
|
tempdir.cleanup() |