As I split unit tests and integration tests for #130 the amount of test coverage for a number of clients fell significantly due to it now being tucked away in the integration tests directory. Some key examples being:
integration_test_caiso.py
integration_test_ercot.py
integration_test_nyiso.py
integration_test_pjm.py
There may possibly be others. We should coverage from a number of these test methods back into unit tests, using mocked requests rather than real requests.
Note: By porting them back we should not make network requests but should instead mock responses for URLs that we expect the test to request.
As I split unit tests and integration tests for #130 the amount of test coverage for a number of clients fell significantly due to it now being tucked away in the integration tests directory. Some key examples being:
integration_test_caiso.py
integration_test_ercot.py
integration_test_nyiso.py
integration_test_pjm.py
There may possibly be others. We should coverage from a number of these test methods back into unit tests, using mocked requests rather than real requests.
Note: By porting them back we should not make network requests but should instead mock responses for URLs that we expect the test to request.