Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace print with logger #76

Merged
merged 61 commits into from
Aug 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
b1ea793
Replace print with logger
wwakabobik Oct 10, 2023
07ed7b2
Merge branch 'master' of github.com:wwakabobik/testrail_api_reporter …
wwakabobik Nov 1, 2023
012e259
Merge branch 'master' of github.com:wwakabobik/testrail_api_reporter …
wwakabobik Jan 16, 2024
61f4625
Merge branch 'master' of github.com:wwakabobik/testrail_api_reporter …
wwakabobik Jan 16, 2024
35fd93c
Merge branch 'master' of github.com:wwakabobik/testrail_api_reporter …
wwakabobik Jan 30, 2024
5aba820
Update to 1.4.10
wwakabobik Mar 12, 2024
cd26d29
Update to 1.4.11
wwakabobik Mar 12, 2024
85783db
Update to 1.4.11
wwakabobik Mar 12, 2024
a53f87b
Update to 1.4.11
wwakabobik Mar 12, 2024
cb9c5ea
Update to 1.4.11
wwakabobik Mar 12, 2024
6014d5d
Update to 1.4.11
wwakabobik Mar 12, 2024
3e40db3
Update to 1.4.11
wwakabobik Mar 12, 2024
a9d4f2e
Update to 1.4.11
wwakabobik Mar 12, 2024
9225b41
Update to 1.4.11
wwakabobik Mar 27, 2024
905fb75
Update to 1.4.11
wwakabobik Mar 27, 2024
5efcc7b
Re-sort requirements.txt
wwakabobik Aug 19, 2024
cfa0860
Update GA and README.md
wwakabobik Aug 19, 2024
55b9741
Update GA and README.md
wwakabobik Aug 19, 2024
e6306dd
Update GA and README.md
wwakabobik Aug 19, 2024
2bd3be4
Update GA and README.md
wwakabobik Aug 19, 2024
cee07b6
Rearrange project structure, add tests for upload_image
wwakabobik Aug 19, 2024
a223c00
Rearrange project structure, add tests for upload_image
wwakabobik Aug 19, 2024
e4b2809
Rearrange project structure, add tests for upload_image
wwakabobik Aug 19, 2024
ff2c5aa
Fix linters
wwakabobik Aug 19, 2024
39f838a
Fix linters
wwakabobik Aug 19, 2024
abdfbc0
Fix linters
wwakabobik Aug 19, 2024
9c34087
Fix linters
wwakabobik Aug 19, 2024
862ab68
Fix linters
wwakabobik Aug 19, 2024
62a5b6d
Fix linters
wwakabobik Aug 19, 2024
94e94be
Fix linters
wwakabobik Aug 19, 2024
7915a6a
Add test_reporter_utils_delete_file.py
wwakabobik Aug 20, 2024
6e87fe5
Add test_reporter_utils_delete_file.py
wwakabobik Aug 20, 2024
fd0a0f2
100% cover "reporter_utils"
wwakabobik Aug 20, 2024
a3c5d2e
100% cover "reporter_utils"
wwakabobik Aug 20, 2024
5e98c3e
100% cover "reporter_utils"
wwakabobik Aug 20, 2024
65b4190
100% cover "reporter_utils"
wwakabobik Aug 20, 2024
ae97ade
Add explicit coding (utf-8)
wwakabobik Aug 20, 2024
c66bbe5
Added test_reporter_utils_case_stat.py
wwakabobik Aug 29, 2024
3674308
Added test_reporter_utils_csv_parser_*.py
wwakabobik Aug 29, 2024
86becd9
Added test_reporter_utils_logger_config.py
wwakabobik Aug 29, 2024
f5e64ae
Added test_engines_plotly_reporter_draw_automation_state_report.py
wwakabobik Aug 30, 2024
9e64152
Added test_engines_plotly_reporter_draw_test_case_by_area.py
wwakabobik Aug 30, 2024
ea283cb
Added test_engines_plotly_reporter_draw_test_case_by_priority.py.py
wwakabobik Aug 30, 2024
2f88ebb
Variate more params for draw functions
wwakabobik Aug 30, 2024
bfa4b8b
Add test_engines_plotly_reporter_draw_history_state_chart.py
wwakabobik Aug 30, 2024
965c8b9
Fix test against missed filename
wwakabobik Aug 30, 2024
6c247c2
Linter fixes
wwakabobik Aug 30, 2024
8b50e52
Linter fixes
wwakabobik Aug 30, 2024
44a1c63
Linter fixes
wwakabobik Aug 30, 2024
7d3510b
Linter fixes
wwakabobik Aug 30, 2024
331153c
Add explicit coding (utf-8)
wwakabobik Aug 30, 2024
736c445
Linter fixes
wwakabobik Aug 30, 2024
3a1d559
Linter fixes
wwakabobik Aug 30, 2024
d299bee
Linter fixes
wwakabobik Aug 30, 2024
e218cdd
Linter fixes
wwakabobik Aug 30, 2024
6921143
Linter fixes
wwakabobik Aug 30, 2024
a80d528
Linter fixes
wwakabobik Aug 30, 2024
4105b4b
Merge branch 'master' of github.com:wwakabobik/testrail_api_reporter …
wwakabobik Aug 30, 2024
acda84c
Fix readme file
wwakabobik Aug 30, 2024
02d5423
Merge branch 'master' of github.com:wwakabobik/testrail_api_reporter …
wwakabobik Aug 30, 2024
2b59c2d
Update README.txt
wwakabobik Aug 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
100% cover "reporter_utils"
  • Loading branch information
wwakabobik committed Aug 20, 2024
commit 65b41905f04fb4f80e24e1d2172380c432b68676
2 changes: 0 additions & 2 deletions testrail_api_reporter/utils/logger_config.py
Original file line number Diff line number Diff line change
@@ -16,9 +16,7 @@ def setup_logger(name: str, log_file: str, level=logging.DEBUG):
:param name: (string) Name of the logger.
:param log_file: path to log_file
:param level: logging level. Default is logging.DEBUG

:returns: logger object

"""
formatter = logging.Formatter("%(asctime)s [%(levelname)s] %(name)s: %(message)s")

6 changes: 3 additions & 3 deletions tests/utils/test_reporter_utils_cqptions.py
Original file line number Diff line number Diff line change
@@ -6,9 +6,9 @@

from faker import Faker

from testrail_api_reporter.utils.reporter_utils import (
check_captions_and_files
) # pylint: disable=import-error,no-name-in-module
from testrail_api_reporter.utils.reporter_utils import ( # pylint: disable=import-error,no-name-in-module
check_captions_and_files,
)

faker = Faker()

6 changes: 3 additions & 3 deletions tests/utils/test_reporter_utils_init_get_cases.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Tests for the reporter_utils module, function 'init_get_cases_process'"""

from testrail_api_reporter.utils.reporter_utils import (
init_get_cases_process
) # pylint: disable=import-error,no-name-in-module
from testrail_api_reporter.utils.reporter_utils import ( # pylint: disable=import-error,no-name-in-module
init_get_cases_process,
)


def test_init_get_cases_process():