Add unit tests for load_config.py #61

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:feature-add-load-unit-tests into master 2023-07-24 09:44:19 +00:00
Member
(frostfs-testlib) bereza@NB-2317:~/src/frostfs-testlib$ make unit_test 
Starting unit tests
. venv.frostfs-testlib/bin/activate && python -m pytest tests
======================= test session starts =======================
platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.2.0
rootdir: /home/bereza/src/frostfs-testlib, configfile: pyproject.toml
collected 59 items                                                                                                                                                                           

tests/test_cli.py ......                                                                                                                                                           [ 10%]
tests/test_converters.py .....                                                                                                                                                     [ 18%]
tests/test_hosting.py .....                                                                                                                                                         [ 27%]
tests/test_load_config.py ...................                                                                                                                                       [ 59%]
tests/test_local_shell.py .........                                                                                                                                                 [ 74%]
tests/test_reporter.py ....                                                                                                                                                         [ 81%]
tests/test_ssh_shell.py sssssssss                                                                                                                                                   [ 96%]
tests/test_wallet.py ..                                                                                                                                                                [100%]

======================= 50 passed, 9 skipped in 19.98s =======================

Signed-off-by: Andrey Berezin a.berezin@yadro.com

``` (frostfs-testlib) bereza@NB-2317:~/src/frostfs-testlib$ make unit_test Starting unit tests . venv.frostfs-testlib/bin/activate && python -m pytest tests ======================= test session starts ======================= platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.2.0 rootdir: /home/bereza/src/frostfs-testlib, configfile: pyproject.toml collected 59 items tests/test_cli.py ...... [ 10%] tests/test_converters.py ..... [ 18%] tests/test_hosting.py ..... [ 27%] tests/test_load_config.py ................... [ 59%] tests/test_local_shell.py ......... [ 74%] tests/test_reporter.py .... [ 81%] tests/test_ssh_shell.py sssssssss [ 96%] tests/test_wallet.py .. [100%] ======================= 50 passed, 9 skipped in 19.98s ======================= ``` Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
abereziny added 1 commit 2023-07-21 16:13:37 +00:00
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
abereziny requested review from qa-committers 2023-07-21 16:13:42 +00:00
ylukoyan approved these changes 2023-07-22 04:43:50 +00:00
d.zayakin approved these changes 2023-07-24 06:17:52 +00:00
abereziny merged commit 38742badf2 into master 2023-07-24 09:44:19 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-testlib#61
No description provided.