Closed dallen5 closed 4 years ago
The CI failures look like they're likely an issue with a new version of pytest. I've triggered a build on master to see if we get the same issue.
Have a fix in #67. We can merge this in once that is merged into master
Note this PR is waiting on https://github.com/dpa9694/rhg_compute_tools/pull/2
@delgadom I merged in those changes, looks like this is passing tests (which seem to have sped up 5-10x??)
flake8 rhg_compute_tools tests docs
This updates the handling of the
env_items
parameter inget_cluster()
, changing the dictionary unpacking tofor k, v in env_items.items()
instead offor k, v in env_items.values()
.Also, this fixes a typo in the deprecated list-of-dicts implementation (from
isintance
toisinstance
).Finally, the docstring is updated to match the dict implementation rather than the deprecated list-of-dicts implementation.