fcd0790c03
Instead of using string manipulation and hardcoded path separators, use the os.path.join method for better consistency. Add some initial pytest unit tests. Tests include one to verify the generator can create a fluxcd application. Apply flake8 corrections to entire codebase. Apply pylint corrections to entire codebase. Diabled bandit. Update tox.ini file and test-requirements.txt Make updates to .zuul.yaml to enable coverage tests with helm. Coverage check will fail if coverage falls below 55% for now. Zuul is using the same version of helm as is current in STX; v3.12.2. TODO - Make sure flake8, pylint, etc.. are good. Test Plan: PASS - Verify the generator can still build an example fluxcd app TODO - Verify the generator can still buld an example armada app Story: 2010937 Task: 48918 Task: 48917 Change-Id: I18a52cd98b730cc96b2b51cd4c1ab16785ad9857 Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
12 lines
144 B
INI
12 lines
144 B
INI
[run]
|
|
omit =
|
|
*__init__*
|
|
*test_*
|
|
*conftest.py*
|
|
|
|
[report]
|
|
omit =
|
|
*__init__*
|
|
*test_*
|
|
*conftest.py*
|