Skip to content

Improve build_model tests to fail on errors#95

Open
bernalde wants to merge 1 commit intomainfrom
b1kmqi-codex/update-build_model-tests-to-fail-on-errors
Open

Improve build_model tests to fail on errors#95
bernalde wants to merge 1 commit intomainfrom
b1kmqi-codex/update-build_model-tests-to-fail-on-errors

Conversation

@bernalde
Copy link
Copy Markdown
Member

Summary

  • ensure unexpected errors in build_model tests cause test failures
  • apply the same logic to remaining tests that construct models
  • skip tests when external solvers are missing
  • consolidate model-specific construction tests into one parametrized check
  • expand model construction checks to all modules instead of just cstr, biofuel and gdp_col

Testing

  • pytest -k module_imports -q
  • pytest -k model_construction -q

https://chatgpt.com/codex/tasks/task_b_6886fb5034388327a85683b7420a509d

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant