python-bsblan 6.1.3__tar.gz → 6.1.4__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.
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/docs.yaml +1 -1
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/linting.yaml +2 -2
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/release-drafter.yaml +1 -1
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/release.yaml +2 -2
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/tests.yaml +2 -2
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/typing.yaml +1 -1
- python_bsblan-6.1.4/.nvmrc +1 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/PKG-INFO +1 -1
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/package-lock.json +4 -4
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/package.json +1 -1
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/pyproject.toml +3 -3
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_validation.py +3 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_api_validation.py +12 -0
- python_bsblan-6.1.3/.nvmrc +0 -1
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.editorconfig +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.gitattributes +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/CODE_OF_CONDUCT.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/CONTRIBUTING.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/SECURITY.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/agents/pr-review.agent.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/agents/security-reviewer.agent.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/agents/tdd-refactor.agent.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/copilot-instructions.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/hooks/run-validation-after-edits.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/hooks/run_validation_after_edits.sh +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/labels.yml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/prompts/add-parameter.prompt.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/prompts/code-review.prompt.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/release-drafter.yml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/renovate.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/skills/bsblan-parameters/SKILL.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/skills/bsblan-testing/SKILL.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/skills/feature-doc-updates/SKILL.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/auto-approve-renovate.yml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/codeql.yaml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/dependency-review.yaml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/labels.yaml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/lock.yaml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/pr-labels.yaml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/scorecard.yml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/stale.yaml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/zizmor.yml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.gitignore +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.pre-commit-config.yaml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.prettierignore +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.yamllint +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/AGENTS.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/CLAUDE.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/LICENSE.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/Makefile +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/README.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/client.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/constants.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/exceptions.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/models.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/getting-started.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/index.md +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/control.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/discovery.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/fetch_param.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/profile_init.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/ruff.toml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/speed_test.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/mkdocs.yml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/sonar-project.properties +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/__init__.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_temperature.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_transport.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_version.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/bsblan.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/constants.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/exceptions.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/models.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/py.typed +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/utility.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/__init__.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/conftest.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/device.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/dict_version.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/hot_water_state.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/info.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/password.txt +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/pps_device.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/pps_state.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/pps_static_values.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/sensor.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/state.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/state_circuit2.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/static_state.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/static_state_circuit2.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/thermostat_hvac.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/thermostat_temp.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/time.json +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/ruff.toml +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_api_initialization.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_auth.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_backoff_retry.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_bsblan.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_bsblan_edge_cases.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_circuit.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_configuration.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_constants.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_context_manager.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_device.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_dhw_time_switch.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_entity_info.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_entity_info_ha.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_heating_schedule.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_hot_water_additional.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_hotwater_state.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_include_parameter.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_info.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_initialization.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_pps.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_read_parameters.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_reset_validation.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_schedule_models.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_sensor.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_set_heating_schedule.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_set_hot_water_schedule.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_set_hotwater.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_state.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_static_state.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_temperature_unit.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_temperature_validation.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_thermostat.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_time.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_utility.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_utility_additional.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_utility_edge_cases.py +0 -0
- {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_version_errors.py +0 -0
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
with:
|
|
32
32
|
enable-cache: true
|
|
33
33
|
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
|
|
34
|
-
uses: actions/setup-python@
|
|
34
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
35
35
|
with:
|
|
36
36
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
37
37
|
- name: 🏗 Install dependencies
|
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
enable-cache: true
|
|
31
31
|
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
|
|
32
32
|
id: python
|
|
33
|
-
uses: actions/setup-python@
|
|
33
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
34
34
|
with:
|
|
35
35
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
36
36
|
- name: 🏗 Install Python dependencies
|
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
enable-cache: true
|
|
55
55
|
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
|
|
56
56
|
id: python
|
|
57
|
-
uses: actions/setup-python@
|
|
57
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
58
58
|
with:
|
|
59
59
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
60
60
|
- name: 🏗 Install Python dependencies
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
steps:
|
|
37
37
|
- name: 🚀 Run Release Drafter
|
|
38
38
|
# yamllint disable-line rule:line-length
|
|
39
|
-
uses: release-drafter/release-drafter@
|
|
39
|
+
uses: release-drafter/release-drafter@ed4bc48ec97379be2258e7b7ac2624a3e26ab809 # v7.4.0
|
|
40
40
|
with:
|
|
41
41
|
prerelease: ${{ github.event.inputs.prerelease == 'true' }}
|
|
42
42
|
prerelease-identifier: ${{ github.event.inputs.prerelease_identifier }}
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
enable-cache: false
|
|
35
35
|
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
|
|
36
36
|
id: python
|
|
37
|
-
uses: actions/setup-python@
|
|
37
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
38
38
|
with:
|
|
39
39
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
40
40
|
- name: 🏗 Install dependencies
|
|
@@ -50,7 +50,7 @@ jobs:
|
|
|
50
50
|
- name: 🏗 Build package
|
|
51
51
|
run: uv build
|
|
52
52
|
- name: 🔏 Attest build provenance
|
|
53
|
-
uses: actions/attest-build-provenance@
|
|
53
|
+
uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1
|
|
54
54
|
with:
|
|
55
55
|
subject-path: ./dist/*
|
|
56
56
|
- name: 🚀 Publish to PyPi
|
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
enable-cache: true
|
|
39
39
|
- name: 🏗 Set up Python ${{ matrix.python }}
|
|
40
40
|
id: python
|
|
41
|
-
uses: actions/setup-python@
|
|
41
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
42
42
|
with:
|
|
43
43
|
python-version: ${{ matrix.python }}
|
|
44
44
|
- name: 🏗 Install dependencies
|
|
@@ -73,7 +73,7 @@ jobs:
|
|
|
73
73
|
enable-cache: true
|
|
74
74
|
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
|
|
75
75
|
id: python
|
|
76
|
-
uses: actions/setup-python@
|
|
76
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
77
77
|
with:
|
|
78
78
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
79
79
|
- name: 🏗 Install dependencies
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
|
|
34
34
|
id: python
|
|
35
35
|
# yamllint disable-line rule:line-length
|
|
36
|
-
uses: actions/setup-python@
|
|
36
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
37
37
|
with:
|
|
38
38
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
39
39
|
- name: 🏗 Install dependencies
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
24.18.0
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"url-parse": "1.5.10"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"prettier": "3.8.
|
|
15
|
+
"prettier": "3.8.5"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"node_modules/prettier": {
|
|
19
|
-
"version": "3.8.
|
|
20
|
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.
|
|
21
|
-
"integrity": "sha512-
|
|
19
|
+
"version": "3.8.5",
|
|
20
|
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.5.tgz",
|
|
21
|
+
"integrity": "sha512-zxcTTCedNGJM4R8sj/Cq/F0W/c4iE0afWBcBwMTRtw4WHYP9TWkYjdiH3npPRUYsXQCPR0hTU9yjovOu+E6EQA==",
|
|
22
22
|
"dev": true,
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"bin": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "python-bsblan"
|
|
3
|
-
version = "6.1.
|
|
3
|
+
version = "6.1.4"
|
|
4
4
|
description = "Asynchronous Python client for BSBLAN API"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Willem-Jan van Rootselaar", email = "liudgervr@gmail.com"}
|
|
@@ -196,7 +196,7 @@ dev = [
|
|
|
196
196
|
# hatch is required to support type hinting and proper packaging of the py.typed file.
|
|
197
197
|
"hatch>=1.14.1",
|
|
198
198
|
"isort==8.0.1",
|
|
199
|
-
"ty==0.0.
|
|
199
|
+
"ty==0.0.55",
|
|
200
200
|
"prek>=0.3.3",
|
|
201
201
|
"pre-commit-hooks==6.0.0",
|
|
202
202
|
"pylint==4.0.5",
|
|
@@ -205,7 +205,7 @@ dev = [
|
|
|
205
205
|
"pytest-cov==7.1.0",
|
|
206
206
|
"pytest-xdist>=3.8.0",
|
|
207
207
|
"pyupgrade==3.21.2",
|
|
208
|
-
"ruff==0.15.
|
|
208
|
+
"ruff==0.15.20",
|
|
209
209
|
"safety==3.8.1",
|
|
210
210
|
"vulture==2.16",
|
|
211
211
|
"yamllint==1.38.0",
|
|
@@ -96,6 +96,9 @@ class SectionValidator:
|
|
|
96
96
|
dict[str, str]: Mapping of parameter id to parameter name.
|
|
97
97
|
|
|
98
98
|
"""
|
|
99
|
+
if not self._api_validator:
|
|
100
|
+
raise BSBLANError(ErrorMsg.API_VALIDATOR_NOT_INITIALIZED)
|
|
101
|
+
|
|
99
102
|
return cast("APIValidator", self._api_validator).get_section_params(section)
|
|
100
103
|
|
|
101
104
|
def apply_bus_specific_api_config(
|
|
@@ -89,6 +89,18 @@ async def test_validate_api_section_no_validator() -> None:
|
|
|
89
89
|
await bsblan._validator._validate_api_section("device")
|
|
90
90
|
|
|
91
91
|
|
|
92
|
+
@pytest.mark.asyncio
|
|
93
|
+
async def test_get_section_params_no_validator() -> None:
|
|
94
|
+
"""Test section parameter lookup with no validator initialized."""
|
|
95
|
+
async with aiohttp.ClientSession() as session:
|
|
96
|
+
bsblan = BSBLAN(BSBLANConfig(host="example.com"), session=session)
|
|
97
|
+
|
|
98
|
+
bsblan._validator._api_validator = None
|
|
99
|
+
|
|
100
|
+
with pytest.raises(BSBLANError, match=ErrorMsg.API_VALIDATOR_NOT_INITIALIZED):
|
|
101
|
+
bsblan._validator.get_section_params("device")
|
|
102
|
+
|
|
103
|
+
|
|
92
104
|
@pytest.mark.asyncio
|
|
93
105
|
async def test_validate_api_section_no_api_data() -> None:
|
|
94
106
|
"""Test API section validation with no API data initialized."""
|
python_bsblan-6.1.3/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
24.16.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|