Hydro-Quebec-API-Wrapper 4.5.0__tar.gz → 4.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.github/workflows/ci.yml +1 -1
- hydro_quebec_api_wrapper-4.5.1/.github/workflows/scenario-tests.yml +49 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.gitignore +0 -1
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.pre-commit-config.yaml +3 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/Hydro_Quebec_API_Wrapper.egg-info/PKG-INFO +122 -1
- hydro_quebec_api_wrapper-4.5.1/Hydro_Quebec_API_Wrapper.egg-info/SOURCES.txt +475 -0
- hydro_quebec_api_wrapper-4.5.1/Hydro_Quebec_API_Wrapper.egg-info/entry_points.txt +3 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/PKG-INFO +122 -1
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/README.md +121 -0
- hydro_quebec_api_wrapper-4.5.1/capture_requirements.txt +4 -0
- hydro_quebec_api_wrapper-4.5.1/codecov.yaml +20 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/conf.py +3 -1
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/hydroqc.hydro_api.rst +1 -1
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/hydroqc.rst +3 -3
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/examples/hydro.py +2 -1
- hydro_quebec_api_wrapper-4.5.1/hydroqc/hydro_api/b2c_steps.py +284 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/hydro_api/client.py +21 -136
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/hydro_api/mfa.py +206 -15
- hydro_quebec_api_wrapper-4.5.1/hydroqc/tools/__init__.py +1 -0
- hydro_quebec_api_wrapper-4.5.1/hydroqc/tools/capture.py +923 -0
- hydro_quebec_api_wrapper-4.5.1/hydroqc/tools/capture_fixtures.py +1144 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/pyproject.toml +6 -1
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/mobile/0001-response.json +17 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/mobile/0002-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/web/0001-response.json +17 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/common/web/0002-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0001-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0002-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0003-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0004-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0005-response.json +1766 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0006-response.json +17 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0007-response.json +112 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0008-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0009-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0010-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0011-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0012-response.json +189 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0013-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0014-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0015-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0016-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0017-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0018-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0018-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0019-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0019-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0020-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/mobile/0020-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0001-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0002-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0003-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0004-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0005-response.json +1766 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0006-response.json +17 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0007-response.json +112 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0008-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0009-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0010-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0011-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0012-response.json +189 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0013-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0014-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0015-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0016-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0017-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0018-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0018-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0019-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0019-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0020-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/contract/web/0020-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DPC_SUMMER/capture-01/scenario.json +13 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/mobile/0001-response.json +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/mobile/0002-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/web/0001-response.json +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/common/web/0002-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0001-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0002-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0003-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0004-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0005-response.json +1656 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0006-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0007-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0008-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0009-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0010-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0011-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0012-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0013-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0014-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0015-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0016-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/mobile/0017-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0001-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0002-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0003-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0004-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0005-response.json +1656 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0006-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0007-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0008-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0009-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0010-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0011-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0012-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0013-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0014-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0015-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0016-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/contract/web/0017-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/DT_SUMMER/DT/scenario.json +13 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0001-response.json +17 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0002-response.json +140 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0003-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/mobile/0004-response.json +140 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0001-response.json +17 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0002-response.json +140 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0003-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/common/web/0004-response.json +140 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0001-response.json +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0002-response.json +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0003-response.json +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0004-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0005-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0006-response.json +1279 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0007-response.json +264 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0008-response.json +112 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0009-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0010-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0011-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0012-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0013-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0014-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0015-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0016-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0017-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0018-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0018-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0019-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0019-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0020-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/mobile/0020-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0001-response.json +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0002-response.json +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0003-response.json +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0004-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0005-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0006-response.json +1279 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0007-response.json +264 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0008-response.json +112 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0009-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0010-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0011-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0012-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0013-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0014-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0015-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0016-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0017-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0018-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0018-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0019-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0019-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0020-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/contract/web/0020-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_CPC_SUMMER/capture-01/scenario.json +13 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/mobile/0001-response.json +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/mobile/0002-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/web/0001-response.json +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/common/web/0002-response.json +18 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0001-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0002-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0003-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0004-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0005-response.json +1568 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0006-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0007-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0008-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0009-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0010-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0011-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0012-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0013-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0014-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0015-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0016-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/mobile/0017-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0001-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0002-response.json +48 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0003-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0003-response.txt +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0004-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0004-response.bin +0 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0005-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0005-response.json +1568 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0006-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0006-response.json +52 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0007-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0007-response.csv +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0008-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0008-response.json +61 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0009-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0009-response.csv +3 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0010-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0010-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0011-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0011-response.csv +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0012-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0012-response.json +437 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0013-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0013-response.json +33 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0014-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0014-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0015-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0015-response.json +234 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0016-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0016-response.json +231 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0017-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/contract/web/0017-response.json +9 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/D_SUMMER/D/scenario.json +13 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/PUBLIC_PEAKS/public-01/public/0001-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/PUBLIC_PEAKS/public-01/public/0001-response.txt +39 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/PUBLIC_PEAKS/public-01/public/0002-metadata.json +11 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/PUBLIC_PEAKS/public-01/public/0002-response.txt +112 -0
- hydro_quebec_api_wrapper-4.5.1/tests/fixtures/PUBLIC_PEAKS/public-01/scenario.json +14 -0
- hydro_quebec_api_wrapper-4.5.1/tests/live_accounts/__init__.py +1 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/test_basic.py +8 -1
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/tools.py +8 -9
- hydro_quebec_api_wrapper-4.5.1/tests/scenarios/__init__.py +1 -0
- hydro_quebec_api_wrapper-4.5.1/tests/scenarios/fixture_replay.py +92 -0
- hydro_quebec_api_wrapper-4.5.1/tests/scenarios/scenario_helpers.py +49 -0
- hydro_quebec_api_wrapper-4.5.1/tests/scenarios/test_d_cpc.py +94 -0
- hydro_quebec_api_wrapper-4.5.1/tests/scenarios/test_dpc.py +135 -0
- hydro_quebec_api_wrapper-4.5.1/tests/scenarios/test_dt.py +123 -0
- hydro_quebec_api_wrapper-4.5.1/tests/scenarios/test_public_client.py +129 -0
- hydro_quebec_api_wrapper-4.5.1/tests/unit/test_capture_cli.py +308 -0
- hydro_quebec_api_wrapper-4.5.1/tests/unit/test_capture_fixtures.py +494 -0
- hydro_quebec_api_wrapper-4.5.1/tests/unit/test_login_flow.py +766 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/tests/unit/test_mfa.py +246 -3
- hydro_quebec_api_wrapper-4.5.1/tests/unit/test_outage.py +146 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/tox.ini +2 -2
- hydro_quebec_api_wrapper-4.5.0/Hydro_Quebec_API_Wrapper.egg-info/SOURCES.txt +0 -112
- hydro_quebec_api_wrapper-4.5.0/Hydro_Quebec_API_Wrapper.egg-info/entry_points.txt +0 -2
- hydro_quebec_api_wrapper-4.5.0/tests/unit/test_login_flow.py +0 -396
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.coveragerc +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.devcontainer/Dockerfile +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.devcontainer/devcontainer.json +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.flake8 +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.github/scripts/home_assistant_versions.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.github/workflows/release.yml +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.gitlab-ci.yml +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/.pylintrc +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/Hydro_Quebec_API_Wrapper.egg-info/dependency_links.txt +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/Hydro_Quebec_API_Wrapper.egg-info/requires.txt +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/Hydro_Quebec_API_Wrapper.egg-info/top_level.txt +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/LICENSE +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/MANIFEST.in +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/config.default.yaml +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/conflict_test_requirements.txt +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/Makefile +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/make.bat +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/_static/custom.css +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/_static/hydroqc-logo-128.png +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/_static/hydroqc-logo.svg +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/external/description-des-codes-interruption.pdf +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/index.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/hydroqc.contract.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/hydroqc.peak.cpc.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/hydroqc.peak.dpc.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/hydroqc.peak.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/hydroqc.types.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/reference/modules.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/docs/source/todo.rst +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/account.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/consts.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/common.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/contract_d.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/contract_d_cpc.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/contract_dpc.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/contract_dt.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/contract_m.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/contract_m_gdp.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/contract_residential.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/contract/outage.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/customer.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/error.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/hydro_api/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/hydro_api/cache.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/hydro_api/consts.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/logger.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/basepeak.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/basepeakhandler.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/consts.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/cpc/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/cpc/consts.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/cpc/handler.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/cpc/peak.py +3 -3
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/dpc/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/dpc/consts.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/dpc/handler.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/peak/dpc/peak.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/public_client.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/py.typed +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/timerange.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/hydroqc → hydro_quebec_api_wrapper-4.5.1/hydroqc/tools}/diagnostic.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/account.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/common.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/consump.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/contract.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/cpc.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/dpc.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/dt.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/types/outage.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/utils.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/hydroqc/webuser.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/logo/hydroqc-logo-128.png +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/logo/hydroqc-logo.svg +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/renovate.json5 +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/setup.cfg +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/test_requirements.txt +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/tests/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/tests/conftest.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/subtest_common.py +1 -1
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/subtest_contract_d.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/subtest_contract_d_cpc.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/subtest_contract_dpc.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/subtest_contract_dt.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/subtest_contract_m.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/live_accounts}/subtest_contract_m_gdp.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/tests/unit/__init__.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/tests/unit/test_mobile_client.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0 → hydro_quebec_api_wrapper-4.5.1}/tests/unit/test_portal_unavailability.py +0 -0
- {hydro_quebec_api_wrapper-4.5.0/tests → hydro_quebec_api_wrapper-4.5.1/tests/unit}/test_timerange.py +0 -0
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
- name: Install tox
|
|
29
29
|
run: python -m pip install tox
|
|
30
30
|
- name: Run quality checks
|
|
31
|
-
run: tox -e pylint,flake8,pydocstyle,typing,black
|
|
31
|
+
run: tox -e pylint,flake8,pydocstyle,typing,black
|
|
32
32
|
- name: Upload quality reports
|
|
33
33
|
if: always()
|
|
34
34
|
uses: actions/upload-artifact@v4
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: Scenario tests with coverage
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
fixture-tests:
|
|
15
|
+
name: Unit and scenario tests with coverage
|
|
16
|
+
runs-on: ubuntu-24.04
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: '3.13'
|
|
22
|
+
cache: pip
|
|
23
|
+
cache-dependency-path: |
|
|
24
|
+
test_requirements.txt
|
|
25
|
+
capture_requirements.txt
|
|
26
|
+
- name: Install project and test dependencies
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install -e . -r test_requirements.txt
|
|
29
|
+
python -m pip install -r capture_requirements.txt
|
|
30
|
+
- name: Run unit and fixture replay tests with coverage
|
|
31
|
+
run: >-
|
|
32
|
+
python -m pytest -q tests/unit tests/scenarios
|
|
33
|
+
--cov=hydroqc
|
|
34
|
+
--cov-report=term-missing
|
|
35
|
+
--cov-report=xml:coverage.xml
|
|
36
|
+
- name: Upload coverage report to Codecov
|
|
37
|
+
uses: codecov/codecov-action@v5
|
|
38
|
+
with:
|
|
39
|
+
files: ./coverage.xml
|
|
40
|
+
flags: fixture-tests
|
|
41
|
+
fail_ci_if_error: false
|
|
42
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
43
|
+
- name: Archive coverage report
|
|
44
|
+
if: always()
|
|
45
|
+
uses: actions/upload-artifact@v4
|
|
46
|
+
with:
|
|
47
|
+
name: fixture-test-coverage
|
|
48
|
+
path: coverage.xml
|
|
49
|
+
if-no-files-found: ignore
|
|
@@ -44,6 +44,9 @@ repos:
|
|
|
44
44
|
hooks:
|
|
45
45
|
- id: mypy
|
|
46
46
|
args: [--strict, --pretty, --show-error-codes]
|
|
47
|
+
exclude: ^(docs/source/conf\.py|examples/hydro\.py|\.github/scripts/home_assistant_versions\.py|tests/scenarios/test_dt\.py)$
|
|
48
|
+
pass_filenames: false
|
|
49
|
+
entry: mypy --strict --pretty --show-error-codes --disable-error-code import-not-found --disable-error-code unused-ignore hydroqc/ tests/
|
|
47
50
|
additional_dependencies:
|
|
48
51
|
- "types-pytz==2025.2.0.20251108"
|
|
49
52
|
- "types-PyYAML==6.0.12.20260724"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Hydro-Quebec-API-Wrapper
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.1
|
|
4
4
|
Summary: A wrapper library to access hydro quebec API and more
|
|
5
5
|
Home-page: https://hydroqc.ca
|
|
6
6
|
Author-email: Hydroqc Team <info@hydroqc.ca>
|
|
@@ -26,6 +26,7 @@ Dynamic: license-file
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
[](https://github.com/hydroqc/hydroqc/actions/workflows/ci.yml)
|
|
29
|
+
[](https://codecov.io/gh/hydroqc/hydroqc)
|
|
29
30
|
[](https://pypi.org/project/Hydro-Quebec-API-Wrapper/)
|
|
30
31
|
|
|
31
32
|
|
|
@@ -79,6 +80,121 @@ Thanks to [HD Énergie](https://hd.energy) for sponsoring developpement of the R
|
|
|
79
80
|
### Other plans
|
|
80
81
|
We don't have anyone to test with. Please reach out to us if you have this plan and want to help!
|
|
81
82
|
|
|
83
|
+
## Adding replay fixtures
|
|
84
|
+
|
|
85
|
+
Replay fixtures let the regular test suite exercise contract scenarios without
|
|
86
|
+
making live Hydro-Québec requests. To capture a new contract type, use a
|
|
87
|
+
Hydro-Québec account that has that contract and run the capture command from the
|
|
88
|
+
repository root:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
python -m venv .venv # skip if the virtual environment already exists
|
|
92
|
+
.venv/bin/python -m pip install -e . -r test_requirements.txt
|
|
93
|
+
.venv/bin/hydroqc-capture
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Install `capture_requirements.txt` alongside the test dependencies to get the
|
|
97
|
+
optional Presidio capture/anonymization dependencies and the small French spaCy
|
|
98
|
+
model. These are not runtime dependencies of HydroQC. Keeping these requirements
|
|
99
|
+
separate avoids conflicting with test-only packages such as Home Assistant
|
|
100
|
+
stubs. In a development environment, run:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
.venv/bin/python -m pip install -e . -r test_requirements.txt
|
|
104
|
+
.venv/bin/python -m pip install -r capture_requirements.txt
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
The French model is installed with these packages; capture and fixture
|
|
108
|
+
pseudonymization do not download a model at runtime.
|
|
109
|
+
|
|
110
|
+
The command prompts for the username and, when needed, the password and MFA
|
|
111
|
+
code. Once logged in, it lists the contracts available on the account and asks
|
|
112
|
+
which one to capture. Pass `--contract <contract-number>` to skip that prompt.
|
|
113
|
+
|
|
114
|
+
For a contract captured during its winter period, add `--winter-period` so its
|
|
115
|
+
fixtures are kept separately from non-winter data:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
.venv/bin/hydroqc-capture --contract <contract-number> --winter-period
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
If the virtual environment is already active, use `hydroqc-capture` instead of
|
|
122
|
+
`.venv/bin/hydroqc-capture`. It captures both the web and mobile API profiles
|
|
123
|
+
and runs the contract operations discovered by the capture script. At the end it
|
|
124
|
+
asks whether to keep the saved sessions (tokens and cookies) for the next
|
|
125
|
+
capture or to purge them.
|
|
126
|
+
|
|
127
|
+
After a successful capture, the script pseudonymizes the responses and installs
|
|
128
|
+
them automatically under `tests/fixtures/`:
|
|
129
|
+
|
|
130
|
+
```text
|
|
131
|
+
tests/fixtures/
|
|
132
|
+
DPC_SUMMER/
|
|
133
|
+
capture-01/
|
|
134
|
+
scenario.json
|
|
135
|
+
common/ # this capture's contract-selection responses
|
|
136
|
+
web/
|
|
137
|
+
mobile/
|
|
138
|
+
contract/ # this capture's rate-specific responses
|
|
139
|
+
web/
|
|
140
|
+
mobile/
|
|
141
|
+
D_CPC_SUMMER/
|
|
142
|
+
capture-01/
|
|
143
|
+
...
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
The outer directory is named from the captured rate and option, joined by an
|
|
147
|
+
underscore when an option exists, then suffixed with `_SUMMER` or `_WINTER`
|
|
148
|
+
(for example, `D_CPC_SUMMER` or `M_GDP_WINTER`). Each capture has its own
|
|
149
|
+
neutral fixture-set name, such as `capture-01`; its `common` selection responses
|
|
150
|
+
stay with that set instead of being shared or overwritten by another capture.
|
|
151
|
+
After capturing, the command lists existing sets and lets you replace one (with
|
|
152
|
+
a separate confirmation) or create a new one. New names must be neutral and
|
|
153
|
+
must not contain personal or contract-identifying information.
|
|
154
|
+
|
|
155
|
+
The same choice can be made explicitly on the command line. Give a new name to
|
|
156
|
+
add a separate set, or add `--replace-fixture` to replace that named set:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
.venv/bin/hydroqc-capture --fixture-name capture-02
|
|
160
|
+
.venv/bin/hydroqc-capture --fixture-name capture-01 --replace-fixture
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
An existing set is never replaced implicitly. The `--winter-period` flag selects
|
|
164
|
+
the `_WINTER` suffix and records
|
|
165
|
+
`"winter_period": true` in its `scenario.json`; without the flag, the scenario
|
|
166
|
+
gets a `_SUMMER` suffix and the field is `false`. This works with any rate and
|
|
167
|
+
option, including G and M: for example, `G_SUMMER` / `G_WINTER` or
|
|
168
|
+
`M_GDP_SUMMER` / `M_GDP_WINTER`. The separate folders keep each season's
|
|
169
|
+
responses apart.
|
|
170
|
+
|
|
171
|
+
The capture pseudonymizes customer, account, contract, location, and contact
|
|
172
|
+
details. It preserves consumption readings and their dates, so these are
|
|
173
|
+
pseudonymized fixtures—not fully anonymized data—and should still be handled
|
|
174
|
+
carefully. Monetary amounts are synthesized. OAuth token responses are not
|
|
175
|
+
installed as fixtures. On success, the sensitive raw capture is deleted. Do
|
|
176
|
+
not use `--keep-raw` for a normal fixture contribution, and never commit or
|
|
177
|
+
share a raw capture. If capture fails, it prints the location of the raw files
|
|
178
|
+
for local diagnosis; remove them securely when finished.
|
|
179
|
+
|
|
180
|
+
Add one full scenario test for each contract type in `tests/scenarios/`, using
|
|
181
|
+
`tests/scenarios/test_d_cpc.py` as the template. Parameterize the test over
|
|
182
|
+
`web` and `mobile`, load the selected fixture set's `common` responses followed
|
|
183
|
+
by its `contract` responses, and replay the complete authenticated hierarchy
|
|
184
|
+
through `run_webuser_contract_scenario` (`WebUser → Customer → Account →
|
|
185
|
+
Contract`). Assert the expected rate and option, and assert that the replay
|
|
186
|
+
transport consumed every recorded response. If a contract type has multiple
|
|
187
|
+
fixture sets, the scenario test discovers and replays each set. Contract
|
|
188
|
+
fixtures without the `infoCompte` responses needed for the authenticated
|
|
189
|
+
hierarchy must be recaptured before they can run this full scenario.
|
|
190
|
+
|
|
191
|
+
Run the new scenario without network access, then run all safe local tests:
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
.venv/bin/python -m pytest -q tests/scenarios/test_<scenario>.py
|
|
195
|
+
.venv/bin/python -m pytest -q tests/unit tests/scenarios
|
|
196
|
+
```
|
|
197
|
+
|
|
82
198
|
## Documentation
|
|
83
199
|
|
|
84
200
|
### Code documentation
|
|
@@ -119,6 +235,11 @@ when the step is detected; `request_mfa_code()` sends a new one. The
|
|
|
119
235
|
verification step expires after a few minutes (3 minutes on the current
|
|
120
236
|
portal): `HydroQcMFAExpiredError` means the login has to be restarted.
|
|
121
237
|
|
|
238
|
+
The newer policy first asks *how* to receive the code: the library always
|
|
239
|
+
answers **e-mail** (a text message step is reported as a failure). An account
|
|
240
|
+
without a registered phone then gets an "add your mobile" page, which is
|
|
241
|
+
skipped automatically: the login never asks for a phone number.
|
|
242
|
+
|
|
122
243
|
A silent background login cannot ask for a code and raises
|
|
123
244
|
`HydroQcMFARequiredError` instead of failing quietly.
|
|
124
245
|
|