Skip to content

Fix capacity tariff context and English units#648

Merged
itsDNNS merged 1 commit into
mainfrom
fix/capacity-tariff-unit-labels
Jun 25, 2026
Merged

Fix capacity tariff context and English units#648
itsDNNS merged 1 commit into
mainfrom
fix/capacity-tariff-unit-labels

Conversation

@itsDNNS

@itsDNNS itsDNNS commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • use configured booked speeds or detected modem max rates for modulation capacity tariff context
  • show Mbps in English capacity displays while keeping Mbit/s for German
  • refresh service worker cache and add regressions for tariff fallback and units

Tests

  • uv run --with-requirements requirements-test.txt pytest tests/test_modulation_api.py tests/test_modulation_static_contract.py tests/web/test_index.py tests/test_static_contracts.py tests/test_config.py
  • uv run --with-requirements requirements-test.txt --with pytest-playwright pytest tests/e2e/test_modulation.py tests/e2e/test_pwa_gate.py
  • uv run --with-requirements requirements-test.txt pytest tests --ignore=tests/e2e
  • git diff --check

@itsDNNS itsDNNS merged commit 5140707 into main Jun 25, 2026
9 checks passed
@itsDNNS itsDNNS deleted the fix/capacity-tariff-unit-labels branch June 25, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant