planet-client-python icon indicating copy to clipboard operation
planet-client-python copied to clipboard

break up raises block in test

Open jreiberkyle opened this issue 4 years ago • 0 comments

This raises block has two function calls. So it will pass even if one of the functions does not raise the error. These functions should be checked in two separate raises blocks.

https://github.com/planetlabs/planet-client-python/blob/ff6e62db1962e8530f7be9135b096f1df8516f92/tests/unit/test_specs.py#L50

jreiberkyle avatar Dec 11 '21 01:12 jreiberkyle