• 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

54.17
/testit-python-commons/src/testit_python_commons/client/client_configuration.py
1
from testit_python_commons.services.logger import adapter_logger
2✔
2
from testit_python_commons.services.utils import Utils
2✔
3

4

5
class ClientConfiguration:
2✔
6
    __project_id = None
2✔
7
    __test_run_id = None
2✔
8

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

13
        if app_properties.get('testrunid'):
×
14
            self.__test_run_id = Utils.uuid_check(app_properties.get('testrunid'))
×
15

16
        self.__url = Utils.url_check(app_properties.get('url'))
×
17
        self.__private_token = app_properties.get('privatetoken')
×
18
        self.__configuration_id = Utils.uuid_check(app_properties.get('configurationid'))
×
19
        self.__tms_proxy = app_properties.get('tmsproxy')
×
20
        self.__adapter_mode = app_properties.get('adaptermode')
×
NEW
21
        self.__cert_validation = Utils.convert_value_str_to_bool(app_properties.get('certvalidation').lower())
×
NEW
22
        self.__automatic_updation_links_to_test_cases = Utils.convert_value_str_to_bool(
×
23
            app_properties.get('automaticupdationlinkstotestcases').lower())
24

25
    @adapter_logger
2✔
26
    def get_url(self):
2✔
27
        return self.__url
×
28

29
    @adapter_logger
2✔
30
    def get_private_token(self):
2✔
31
        return self.__private_token
×
32

33
    @adapter_logger
2✔
34
    def get_project_id(self):
2✔
35
        return self.__project_id
×
36

37
    @adapter_logger
2✔
38
    def set_project_id(self, project_id: str):
2✔
39
        self.__project_id = project_id
×
40

41
    @adapter_logger
2✔
42
    def get_configuration_id(self):
2✔
43
        return self.__configuration_id
×
44

45
    @adapter_logger
2✔
46
    def get_test_run_id(self):
2✔
47
        return self.__test_run_id
×
48

49
    @adapter_logger
2✔
50
    def set_test_run_id(self, test_run_id: str):
2✔
51
        self.__test_run_id = test_run_id
×
52

53
    @adapter_logger
2✔
54
    def get_proxy(self):
2✔
55
        return self.__tms_proxy
×
56

57
    @adapter_logger
2✔
58
    def get_mode(self):
2✔
59
        return self.__adapter_mode
×
60

61
    def get_cert_validation(self) -> bool:
2✔
62
        return self.__cert_validation
×
63

64
    def get_automatic_updation_links_to_test_cases(self) -> bool:
2✔
65
        return self.__automatic_updation_links_to_test_cases
×
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