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

testit-tms / adapters-python / 17798992833

17 Sep 2025 01:19PM UTC coverage: 36.943% (-6.5%) from 43.443%
17798992833

Pull #202

github

web-flow
Merge bfd5ede57 into b59427724
Pull Request #202: fix: TMS-35114: add threads for creating and updating autotests with …

102 of 224 new or added lines in 15 files covered. (45.54%)

1 existing line in 1 file now uncovered.

1293 of 3500 relevant lines covered (36.94%)

0.74 hits per line

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

50.0
/testit-python-commons/src/testit_python_commons/client/models/threads_for_update_and_result.py
1
from typing import Dict, List
2✔
2

3
from testit_api_client.models import AutoTestPutModel, AutoTestResultsForTestRunModel
2✔
4

5

6
class ThreadForUpdateAndResult:
2✔
7
    def __init__(
2✔
8
            self,
9
            thread_for_update: Dict[str, AutoTestPutModel],
10
            thread_results_for_updated_autotests: List[AutoTestResultsForTestRunModel],
11
            thread_for_autotest_links_to_wi_for_update: Dict[str, List[str]]
12
    ):
NEW
13
        self.__thread_for_update = thread_for_update
×
NEW
14
        self.__thread_results_for_updated_autotests = thread_results_for_updated_autotests
×
NEW
15
        self.__thread_for_autotest_links_to_wi_for_update = thread_for_autotest_links_to_wi_for_update
×
16

17
    def get_thread_for_update(self) -> Dict[str, AutoTestPutModel]:
2✔
NEW
18
        return self.__thread_for_update
×
19

20
    def get_thread_results_for_updated_autotests(self) -> List[AutoTestResultsForTestRunModel]:
2✔
NEW
21
        return self.__thread_results_for_updated_autotests
×
22

23
    def get_thread_for_autotest_links_to_wi_for_update(self) -> Dict[str, List[str]]:
2✔
NEW
24
        return self.__thread_for_autotest_links_to_wi_for_update
×
25

26

27
class ThreadsForUpdateAndResult:
2✔
28
    def __init__(
2✔
29
            self,
30
            threads_for_update: List[Dict[str, AutoTestPutModel]],
31
            threads_results_for_updated_autotests: List[List[AutoTestResultsForTestRunModel]],
32
            threads_for_autotest_links_to_wi_for_update: List[Dict[str, List[str]]]
33
    ):
NEW
34
        self.__threads_for_update = threads_for_update
×
NEW
35
        self.__threads_results_for_updated_autotests = threads_results_for_updated_autotests
×
NEW
36
        self.__threads_for_autotest_links_to_wi_for_update = threads_for_autotest_links_to_wi_for_update
×
37

38
    def get_threads_for_update(self) -> List[Dict[str, AutoTestPutModel]]:
2✔
NEW
39
        return self.__threads_for_update
×
40

41
    def get_threads_results_for_updated_autotests(self) -> List[List[AutoTestResultsForTestRunModel]]:
2✔
NEW
42
        return self.__threads_results_for_updated_autotests
×
43

44
    def get_threads_for_autotest_links_to_wi_for_update(self) -> List[Dict[str, List[str]]]:
2✔
NEW
45
        return self.__threads_for_autotest_links_to_wi_for_update
×
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