From 45078e1cf23eaf19b9a10e16a0d2706075a6dc96 Mon Sep 17 00:00:00 2001 From: Shalini Khandelwal Date: Wed, 16 Sep 2020 15:35:25 +0530 Subject: [PATCH] Test commmit to run tests in upstream Signed-off-by: Shalini Khandelwal --- ci/Vagrantfile | 5 ++++- tests/dogtag/pytest-ansible/requirements.txt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/Vagrantfile b/ci/Vagrantfile index 9b49fa39d41..520eafa4b8e 100644 --- a/ci/Vagrantfile +++ b/ci/Vagrantfile @@ -22,7 +22,9 @@ Vagrant.configure("2") do |config| ansible.verbose = "vv" ansible.raw_arguments = "-M /vagrant/tests/dogtag/pytest-ansible/common-modules/" end - + controller.vm.provision "shell", inline: "ANSIBLE_LIBRARY=/vagrant/tests/dogtag/pytest-ansible/common-modules/" + controller.vm.provision "shell", inline: "pip install -e /vagrant/tests/dogtag/pytest-ansible/" + controller.vm.provision "shell", inline: "py.test --ansible-inventory /vagrant/inventory --ansible-host-pattern master /vagrant/tests/dogtag/pytest-ansible/pytest/sanity/test_role_users.py -vvvvvvvvv" controller.vm.network :private_network, ip: "CONTROLLER_IP" end @@ -38,3 +40,4 @@ Vagrant.configure("2") do |config| # clone0.vm.network :private_network, ip: "CLONE_IP" # end end + diff --git a/tests/dogtag/pytest-ansible/requirements.txt b/tests/dogtag/pytest-ansible/requirements.txt index a658d2267b8..ae4b80a5994 100644 --- a/tests/dogtag/pytest-ansible/requirements.txt +++ b/tests/dogtag/pytest-ansible/requirements.txt @@ -6,3 +6,4 @@ pytest-autochecklog==0.2.0 configparser pytest-html pytest_marker_bugzilla +pyOpenSSL