• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

testit-tms / adapters-python / 19481362404

18 Nov 2025 09:43PM UTC coverage: 36.992%. Remained the same
19481362404

Pull #217

github

web-flow
Merge d7772ee46 into 7d331b3fc
Pull Request #217: fix: TMS-36027: fix the parsing of bool cli-parameters.

2 of 8 new or added lines in 4 files covered. (25.0%)

1 existing line in 1 file now uncovered.

1301 of 3517 relevant lines covered (36.99%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/testit-python-commons/src/testit_python_commons/services/adapter_manager_configuration.py
1
from testit_python_commons.models.adapter_mode import AdapterMode
2✔
2
from testit_python_commons.services.logger import adapter_logger
2✔
3
from testit_python_commons.services.utils import Utils
2✔
4

5

6
class AdapterManagerConfiguration:
2✔
7
    __test_run_id = None
2✔
8

9
    def __init__(self, app_properties: dict):
2✔
10
        if app_properties.get('testrunid'):
×
11
            self.__test_run_id = Utils.uuid_check(app_properties.get('testrunid'))
×
12

13
        self.__adapter_mode = app_properties.get('adaptermode', AdapterMode.USE_FILTER)
×
14
        self.__automatic_creation_test_cases = Utils.convert_value_str_to_bool(
×
15
            app_properties.get('automaticcreationtestcases').lower())
NEW
16
        self.__import_realtime = Utils.convert_value_str_to_bool(app_properties.get('importrealtime').lower())
×
UNCOV
17
        self.__test_run_name = app_properties.get('testrunname')
×
18

19
    @adapter_logger
2✔
20
    def get_test_run_id(self):
2✔
21
        return self.__test_run_id
×
22

23
    @adapter_logger
2✔
24
    def set_test_run_id(self, test_run_id: str):
2✔
25
        self.__test_run_id = test_run_id
×
26

27
    @adapter_logger
2✔
28
    def get_test_run_name(self):
2✔
29
        return self.__test_run_name
×
30

31
    @adapter_logger
2✔
32
    def get_mode(self):
2✔
33
        return self.__adapter_mode
×
34

35
    @adapter_logger
2✔
36
    def should_automatic_creation_test_cases(self) -> bool:
2✔
37
        return self.__automatic_creation_test_cases
×
38

39
    @adapter_logger
2✔
40
    def should_import_realtime(self) -> bool:
2✔
41
        return self.__import_realtime
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc