-
Notifications
You must be signed in to change notification settings - Fork 3
TST/BUG: Use testmodel object, update to custom.attach #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@aburrell, I can wrap the Also looking into a long-term solution for the Travis CI environment issues over at pysat to simplify code and testing for other packages. |
Good to hear. Moving to attach is fine, but that does mean we should probably remove the python 2.7 support. |
OK. Will do that here. |
The error in the PR is due to something new in develop. Looks like the updates from #28 no longer give a ValueError when there is no data. Writing up an issue. |
How nice to have actual unit tests so we can adapt them for new behaviour. The test should be changed to IOError, probably. |
It's very nice to have tests! If I run |
We should be testing all possible error raises, so no, let's not remove the test. Let's generate the error. |
Description
Addresses #22 and #24.
pysat_testmodel
object in test_utils_extract to more closely simulate how the code will be used.collect_inst_model_pairs
to match pysat 3.0.0 syntax.Type of change
to not work as expected)
How Has This Been Tested?
Tested locally and on Travis CI using pytest.
Test Configuration:
Checklist:
develop
(notmaster
) branchCHANGELOG.md
, summarizing the changes