Skip to content

Tests for CLC solid phase thermo state block #283

Answered by andrewlee94
ravindurra asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ravindurra

First of all, why are you writing this as a pytest file and not a normal Python script? Test scripts are generally only used for automated testing of code, and not actually running examples and examining the results. Normally, tests do not give any output unless something fails, so no output is actually the desired result in most cases. Thus, seeing as you are getting no output that generally means the tests are working correctly.

To actually run and example and get output, you generally need to write a Python script instead, and specifically display some output from the model.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ksbeattie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants