X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rwcal%2Ftest%2Fcal_module_test%2Fpytest%2Fconftest.py;fp=rwcal%2Ftest%2Fcal_module_test%2Fpytest%2Fconftest.py;h=c4b6705423a9de7753364e170c5328cbfe45ad4c;hb=6f07e6f33f751ab4ffe624f6037f887b243bece2;hp=0000000000000000000000000000000000000000;hpb=72a563886272088feb7cb52e4aafbe6d2c580ff9;p=osm%2FSO.git diff --git a/rwcal/test/cal_module_test/pytest/conftest.py b/rwcal/test/cal_module_test/pytest/conftest.py new file mode 100644 index 00000000..c4b67054 --- /dev/null +++ b/rwcal/test/cal_module_test/pytest/conftest.py @@ -0,0 +1,37 @@ +""" +# +# Copyright 2016 RIFT.IO 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. +# + +@file conftest.py +@author Varun Prasad (varun.prasad@riftio.com) +@date 21/01/2016 + +""" + +def pytest_addoption(parser): + # Openstack related options + parser.addoption("--os-host", action="store", default="10.66.4.102") + parser.addoption("--os-user", action="store", default="pluto") + parser.addoption("--os-password", action="store", default="mypasswd") + parser.addoption("--os-tenant", action="store", default="demo") + parser.addoption("--os-network", action="store", default="private") + + # aws related options + parser.addoption("--aws-user", action="store", default="AKIAIKRDX7BDLFU37PDA") + parser.addoption("--aws-password", action="store", default="cjCRtJxVylVkbYvOUQeyvCuOWAHieU6gqcQw29Hw") + parser.addoption("--aws-region", action="store", default="us-east-1") + parser.addoption("--aws-zone", action="store", default="us-east-1c") + parser.addoption("--aws-ssh-key", action="store", default="vprasad-sshkey")