convexengineering / gpkit

Geometric programming for engineers
http://gpkit.readthedocs.org
MIT License
206 stars 40 forks source link

failing test for submodel variable access #1433

Closed whoburg closed 5 years ago

whoburg commented 5 years ago

(closes #1432)

This adds a test for #1432 that currently fails on master. Feel free to change the PR title if adding commits to this branch to fix the issue.

I would have preferred to write a more specific unit test for KeyDict, but I didn't get in that deep yet. But @bqpd if you can think of a lower-level test in addition to this one that'd be a great addition.

bqpd commented 5 years ago

test models please