Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage report falied on Jinja widgets #384

Closed
bomzheg opened this issue Apr 8, 2024 · 1 comment
Closed

Coverage report falied on Jinja widgets #384

bomzheg opened this issue Apr 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bomzheg
Copy link
Contributor

bomzheg commented Apr 8, 2024

after coverage run -m pytest .
WSL output (python 3.10.12):

(venv) aiogram_dialog$ coverage report -m
No source for code: '/mnt/c/aiogram_dialog/
<b>{{title}}</b>
{% for animal in animals %}
* <a href="https:/yandex.ru/search/?text={{ animal }}">{{ animal|capitalize }}</a>
{% endfor %}
'.
(venv) aiogram_dialog$ 

And the same behaivor on Windows (python 3.11.7):

(.venv) PS aiogram_dialog> coverage report -m
No source for code: 'C:\aiogram_dialog\
<b>{{title}}<\b>
{% for animal in animals %}
* <a href="https:\yandex.ru\search\?text={{ animal }}">{{ animal|capitalize }}<\a>
{% endfor %}
'.
(.venv) PS aiogram_dialog>
@Tishka17 Tishka17 added the bug Something isn't working label May 12, 2024
@Tishka17
Copy link
Owner

[tool.coverage.run]
branch = true
relative_files = true
include = ["src/**"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants