AuHau / toggl-cli

A simple command-line interface for toggl.com

Home Page:https://toggl.uhlir.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test failures

austinbutler opened this issue · comments

In CONTRIBUTING.md it says: "By default unit and integration tests are run without the one testing premium functionality, as most probably you don't have access to Premium workspace for testing purposes. If you want to run just specific category you can do so using for example pytest -m unit for only unit tests."

However running pytest -m unit results in:

tests/unit/api/test_base.py ......................................................                                                                          [ 50%]
tests/unit/api/test_fields.py ...........F.......F..........                                                                                                [ 77%]
tests/unit/cli/test_types.py FFFFFFFFF..........                                                                                                            [ 95%]
tests/unit/helpers/test_duration.py ...                                                                                                                     [ 98%]
tests/unit/utils/test_config.py .                                                                                                                           [ 99%]
tests/unit/utils/test_migrations.py .                                                                                                                       [100%]

And a number of these failures say "premium" and fail due to missing credentials.