Skip to content

Commit

Permalink
smartauthen v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
smartlegionlab committed Oct 30, 2024
1 parent f69ca08 commit 78877fc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,25 +151,35 @@ print(smart_auth.check(login=login, secret=secret, key=key)) # False

***

### Test:
For run tests:
## For the developer:


#### For run tests:

- `pip install pytest`
- `pytest -v`

For run tests coverage:
#### For run tests coverage:

- `pip install pytest-cov`
- `pytest --cov --cov-report=html`

***

#### Test coverage:

Coverage 100% !!!

![coverage img](https://github.com/smartlegionlab/smartauth/raw/master/data/images/smartauthen.png)

#### Building and publishing a package:

- `python -m build`

Or outdated method:

- `python setup.py sdist bdist_wheel`

- `twine upload dist/*`


***

Expand Down
3 changes: 2 additions & 1 deletion requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ setuptools
twine
tox
pytest
pytest-cov
pytest-cov
build
3 changes: 0 additions & 3 deletions requirements/requirements-test.txt

This file was deleted.

0 comments on commit 78877fc

Please sign in to comment.