Skip to content

[MNT] Add missing assertions to Run function testsAdd missing assertions to run function tests - #1734

Open
aryarai05 wants to merge 1 commit into
openml:mainfrom
aryarai05:fix-run-test-assertions
Open

[MNT] Add missing assertions to Run function testsAdd missing assertions to run function tests#1734
aryarai05 wants to merge 1 commit into
openml:mainfrom
aryarai05:fix-run-test-assertions

Conversation

@aryarai05

Copy link
Copy Markdown

Description

Adds the missing assertions requested in issue #1646.

Changes

  • Added an assertion to verify the task type is holdout
  • Added an assertion to verify runtime is present in run attributes
  • Added an assertion to verify run parameters are not empty
  • Added assertions for XML and trace generation

Testing

  • Ran pytest tests/test_runs/test_run_functions.py

Closes #1646

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MNT] Add Missing Assertions to Run Function Tests

2 participants