v1.2.2
Migrated Main Repository to GitHub!
We've officially moved the main repository to GitHub! This shift resolves issues with merge conflicts and weird interactions between Git and Mercurial when handling pull requests. Centralizing here streamlines collaboration and sets us up for smoother development moving forward.
Changes
- Expanded Unit Tests: Added a comprehensive set of unit tests to improve code reliability and catch issues early.
- Test Script with Coverage: Introduced a new test script that generates code coverage reports for better insight into test effectiveness.
Tests
$ ./runtest.sh
============================= test session starts ==============================
platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.6.0
rootdir: /home/cwt/Projects/ananta
configfile: pyproject.toml
plugins: asyncio-0.26.0, cov-6.1.1
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collected 65 items
tests/test_ananta.py ........ [ 12%]
tests/test_ananta_async.py .... [ 18%]
tests/test_config.py ..................... [ 50%]
tests/test_output.py ..................... [ 83%]
tests/test_ssh_helpers.py . [ 84%]
tests/test_ssh_helpers_async.py .......... [100%]
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.13.3-final-0 ________________
Name Stmts Miss Cover Missing
--------------------------------------------------
ananta/__init__.py 10 0 100%
ananta/ananta.py 58 1 98% 210
ananta/config.py 113 20 82% 10-13, 56-64, 77-81, 128-129, 196-200, 215, 222-226
ananta/output.py 54 0 100%
ananta/ssh.py 83 42 49% 97-103, 113-131, 142-165, 183-208
--------------------------------------------------
TOTAL 318 63 80%
============================== 65 passed in 0.67s ==============================