diff options
author | Edan Binshtok <eb578m@intl.att.com> | 2017-10-18 07:56:58 +0300 |
---|---|---|
committer | Edan Binshtok <eb578m@intl.att.com> | 2017-10-18 07:56:58 +0300 |
commit | 433a8256e31f755f5e236491bbe39d3db24d6d6d (patch) | |
tree | 45f483eab1ea1654ee21a3b51c5b8bf1a8ebaffa /tests/uiTests/test_overview.py | |
parent | f8907f0c4fc0ba4bb97a1d636a50c5b40c2642f2 (diff) |
Align CI test test and JJB
Add vendor agnostic CI test to align
Add Tox and maven docker
Issue Id: VVP-15
Change-Id: I69f0c1036e6f72b62bddc822544c55200af7b37d
Signed-off-by: Edan Binshtok <eb578m@intl.att.com>
Diffstat (limited to 'tests/uiTests/test_overview.py')
-rw-r--r-- | tests/uiTests/test_overview.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/uiTests/test_overview.py b/tests/uiTests/test_overview.py index 2045acc..31db2f7 100644 --- a/tests/uiTests/test_overview.py +++ b/tests/uiTests/test_overview.py @@ -1,5 +1,5 @@ - -# ============LICENSE_START========================================== + +# ============LICENSE_START========================================== # org.onap.vvp/test-engine # =================================================================== # Copyright © 2017 AT&T Intellectual Property. All rights reserved. @@ -45,7 +45,6 @@ from services.logging_service import LoggingServiceFactory from services.types import API, Frontend, DB from tests.uiTests.test_ui_base import TestUiBase - logger = LoggingServiceFactory.get_logger() @@ -54,9 +53,10 @@ class TestOverview(TestUiBase): @exception() def test_engagement_validation_details_update_when_cl_closed(self): user_content = API.VirtualFunction.create_engagement() - API.GitLab.git_clone_push(user_content) - cl_uuid = DB.General.select_where_and('uuid', Constants.DBConstants.IceTables.CHECKLIST, 'engagement_id', user_content['engagement_uuid'], - 'name', Constants.Dashboard.Checklist.ChecklistDefaultNames.AIC_INSTANTIATION, 1) + cl_name = Constants.Dashboard.Checklist.ChecklistDefaultNames.AIC_INSTANTIATION + DB.Checklist.state_changed( + "name", cl_name, Constants.ChecklistStates.Review.TEXT) + cl_uuid = DB.Checklist.get_recent_checklist_uuid(cl_name)[0] vf_staff_emails = [user_content['el_email'], user_content[ 'pr_email'], Constants.Users.Admin.EMAIL] API.Checklist.move_cl_to_closed(cl_uuid, vf_staff_emails) |