-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
made one testcase, managed to make it work
- Loading branch information
1 parent
22eaf1a
commit 1e4bad3
Showing
11 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
product_application/controller/__pycache__/VersionController.cpython-311.pyc
Binary file not shown.
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
description='auto version controller product', | ||
author_email='[email protected]', | ||
url='https://github.com/AvocadoStyle/automation_infrastructure_prototype', | ||
packages=find_packages(exclude=('testing_infra*',) | ||
packages=find_packages( | ||
)) |
Empty file.
Empty 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import importlib | ||
def print_out_version(app_name): | ||
app_name = app_name.lower() | ||
app_name = app_name.capitalize() | ||
app_module = importlib.import_module(f'application.{app_name}') | ||
app_name = app_name.upper() | ||
context = '' | ||
app_obj = getattr(app_module, app_name)(context, app_name) | ||
exit_code, out = app_obj.build_app() | ||
print(f'exitcode is: {exit_code}, out is: {out}') | ||
|
||
|
||
print_out_version('BMW') | ||
|
Empty 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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from testing_infra.model.sources.application.Application import ApplicationClass | ||
class BMW(ApplicationClass): | ||
def __init__(self, context, name): | ||
super().__init__(context, name) | ||
|
Empty 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
if __name__ == '__main__': | ||
pass |
Empty file.