40 lines
2.7 KiB
Plaintext
40 lines
2.7 KiB
Plaintext
============================= test session starts ==============================
|
|
platform linux -- Python 3.13.5, pytest-9.0.2, pluggy-1.6.0 -- /opt/pyvenv/bin/python
|
|
cachedir: .pytest_cache
|
|
metadata: {'Python': '3.13.5', 'Platform': 'Linux-6.18.55-x86_64-with-glibc2.41', 'Packages': {'pytest': '9.0.2', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.13.0', 'ddtrace': '4.4.0', 'Faker': '40.1.2', 'asyncio': '1.3.0', 'cov': '7.0.0', 'json-report': '1.5.0', 'metadata': '3.1.1'}, 'PLATFORM': 'linux/amd64', 'CI': 'true'}
|
|
rootdir: /mnt/data/banking_pytest_session9
|
|
configfile: pytest.ini
|
|
testpaths: tests
|
|
plugins: anyio-4.13.0, ddtrace-4.4.0, Faker-40.1.2, asyncio-1.3.0, cov-7.0.0, json-report-1.5.0, metadata-3.1.1
|
|
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
|
|
collecting ... collected 17 items
|
|
|
|
tests/test_banking.py::test_deposit_bva[1-100001] PASSED [ 5%]
|
|
tests/test_banking.py::test_deposit_bva[99999-199999] PASSED [ 11%]
|
|
tests/test_banking.py::test_deposit_bva[100000-200000] PASSED [ 17%]
|
|
tests/test_banking.py::test_deposit_bva[100001-200001] PASSED [ 23%]
|
|
tests/test_banking.py::test_deposit_zero_raises PASSED [ 29%]
|
|
tests/test_banking.py::test_deposit_negative_raises PASSED [ 35%]
|
|
tests/test_banking.py::test_withdraw_valid_boundaries[1-99999] PASSED [ 41%]
|
|
tests/test_banking.py::test_withdraw_valid_boundaries[99999-1] PASSED [ 47%]
|
|
tests/test_banking.py::test_withdraw_valid_boundaries[100000-0] PASSED [ 52%]
|
|
tests/test_banking.py::test_withdraw_zero_raises PASSED [ 58%]
|
|
tests/test_banking.py::test_withdraw_over_balance_raises PASSED [ 64%]
|
|
tests/test_banking.py::test_transfer_and_notification_mock PASSED [ 70%]
|
|
tests/test_banking.py::test_transfer_insufficient_funds_does_not_notify PASSED [ 76%]
|
|
tests/test_banking.py::test_transfer_zero_raises PASSED [ 82%]
|
|
tests/test_banking.py::test_transfer_to_self_raises PASSED [ 88%]
|
|
tests/test_banking.py::test_blank_owner_raises PASSED [ 94%]
|
|
tests/test_banking.py::test_negative_initial_balance_raises PASSED [100%]
|
|
|
|
================================ tests coverage ================================
|
|
_______________ coverage: platform linux, python 3.13.5-final-0 ________________
|
|
|
|
Name Stmts Miss Branch BrPart Cover Missing
|
|
--------------------------------------------------------
|
|
banking.py 32 0 16 0 100%
|
|
--------------------------------------------------------
|
|
TOTAL 32 0 16 0 100%
|
|
Coverage HTML written to dir htmlcov
|
|
============================== 17 passed in 0.13s ==============================
|