• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openego / eDisGo / 13393175972
85%
dev: 84%

Build:
Build:
LAST BUILD BRANCH: feat/565-voltage-over-distance
DEFAULT BRANCH: dev
Ran 25 Feb 2025 12:39PM UTC
Jobs 1
Files 52
Run time 24min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Feb 2025 02:39PM UTC coverage: 84.935% (-0.03%) from 84.962%
13393175972

Pull #462

github

khelfen
feat: Improve TOEP token handling and logging

- Add `TOEP_TOKEN.*` to `.gitignore` to prevent accidental commits of sensitive tokens.
- Improve token retrieval logic in `edisgo/io/db.py`:
  - Use `importlib.util.find_spec` to locate the `edisgo` package directory dynamically.
  - Check for token existence before reading to avoid `FileNotFoundError`.
  - Improve logging for missing or invalid tokens, providing clearer warnings about potential connection issues.
- Ensure a more robust fallback mechanism when no valid token is found.
Pull Request #462: feat: Improve TOEP token handling and logging

7 of 17 new or added lines in 1 file covered. (41.18%)

8327 of 9804 relevant lines covered (84.93%)

0.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
51.04
0.47% edisgo/io/db.py
Jobs
ID Job ID Ran Files Coverage
1 13393175972.1 25 Feb 2025 12:39PM UTC 52
84.93
GitHub Action Run
Source Files on build 13393175972
  • Tree
  • List 52
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #462
  • PR Base - dev (#13387843655)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc