-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- enhance imports for testguide_report_generator package - remove imports in tests init files - combine imports in example file
- Loading branch information
1 parent
0d24ab3
commit 9a7f4cb
Showing
7 changed files
with
10 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
# Copyright (c) 2023-2024 tracetronic GmbH | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
""" | ||
This module provides essential imports for the testguide_report_generator model package. | ||
""" | ||
|
||
from testguide_report_generator.util.Json2AtxRepr import Json2AtxRepr | ||
from testguide_report_generator.util.File import get_md5_hash_from_file | ||
from testguide_report_generator.util.ValidityChecks import check_name_length, gen_error_msg, validate_new_teststep, \ | ||
validate_testcase | ||
|
||
__all__ = [ | ||
"Json2AtxRepr", | ||
"get_md5_hash_from_file", | ||
"check_name_length", | ||
"gen_error_msg", | ||
"validate_new_teststep", | ||
"validate_testcase" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,3 @@ | ||
# Copyright (c) 2023-2024 tracetronic GmbH | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
""" | ||
This module provides essential imports for the tests root package. | ||
""" | ||
|
||
from testguide_report_generator.model.TestCase import TestCase, Verdict | ||
from testguide_report_generator.model.TestCaseFolder import TestCaseFolder | ||
from testguide_report_generator.model.TestSuite import TestSuite | ||
from testguide_report_generator.util.JsonValidator import JsonValidator | ||
from testguide_report_generator.ReportGenerator import Generator | ||
from testguide_report_generator.util.File import get_md5_hash_from_file | ||
|
||
__all__ = [ | ||
"TestCase", | ||
"Verdict", | ||
"TestCaseFolder", | ||
"TestSuite", | ||
"JsonValidator", | ||
"Generator", | ||
"get_md5_hash_from_file" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
# Copyright (c) 2023-2024 tracetronic GmbH | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
""" | ||
This module provides essential imports for the tests model package. | ||
""" | ||
|
||
from testguide_report_generator.model.TestCase import (TestCase, TestStep, Verdict, Artifact, TestStepArtifact, | ||
TestStepArtifactType) | ||
from testguide_report_generator.model.TestSuite import TestSuite | ||
from testguide_report_generator.util.ValidityChecks import gen_error_msg | ||
|
||
__all__ = [ | ||
"TestCase", | ||
"TestStep", | ||
"Verdict", | ||
"Artifact", | ||
"TestStepArtifact", | ||
"TestStepArtifactType", | ||
"TestSuite", | ||
"gen_error_msg" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,3 @@ | ||
# Copyright (c) 2023-2024 tracetronic GmbH | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
""" | ||
This module provides essential imports for the tests util package. | ||
""" | ||
|
||
from testguide_report_generator.model.TestCase import TestCase, TestStep, TestStepFolder | ||
from testguide_report_generator.model.TestCaseFolder import TestCaseFolder | ||
from testguide_report_generator.util.File import get_extended_windows_path, get_md5_hash_from_file | ||
from testguide_report_generator.util.JsonValidator import JsonValidator | ||
from testguide_report_generator.util.ValidityChecks import gen_error_msg, check_name_length, validate_new_teststep, \ | ||
validate_testcase | ||
|
||
__all__ = [ | ||
"TestCase", | ||
"TestStep", | ||
"TestStepFolder", | ||
"TestCaseFolder", | ||
"get_extended_windows_path", | ||
"get_md5_hash_from_file", | ||
"JsonValidator", | ||
"gen_error_msg", | ||
"check_name_length", | ||
"validate_new_teststep", | ||
"validate_testcase" | ||
] |