Skip to content

Commit

Permalink
100% cover "reporter_utils"
Browse files Browse the repository at this point in the history
  • Loading branch information
wwakabobik committed Aug 20, 2024
1 parent 5e98c3e commit 65b4190
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions testrail_api_reporter/utils/logger_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
6 changes: 3 additions & 3 deletions tests/utils/test_reporter_utils_cqptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
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():
Expand Down

0 comments on commit 65b4190

Please sign in to comment.