Actions.DemoActions package

Submodules

Actions.DemoActions.demo_actions module

Copyright 2017, Fujitsu Network Communications, Inc. Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

class Actions.DemoActions.demo_actions.DemoActions[source]

Bases: object

DemoActions class which has methods(keywords) related to actions used in demo KW

check_lab_equipment(system_name)[source]

Call the pc_replacement or testset_calibration KW to validate lab PC or test set calibration are up-to-date or not.

create_jira_issue(server_url, username, password, issue_summary, issue_description, project_key, issue_type='Bug')[source]

connect to jira server and create an issue under a specific project

local_data_test(desired_status)[source]

For testing/demo/placeholder return true/false/exception based on input :Argument:

desired_status = user desired status input pass->true, fail->false and everything else ->exception
pc_replacement(system_name)[source]

Verify lab PC is current if less than 4 years old, otherwise a replacement is required.

testset_calibration(system_name)[source]

Check if the test set calibration is current if less than 1 year old, otherwise, re-calibration is required.

Module contents

Copyright 2017, Fujitsu Network Communications, Inc. Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.