use mysqlclient for db connection

Change-Id: I86ce9ff337642a441d3fba2f1a299673eda858e1
This commit is contained in:
hs571j
2019-09-13 08:55:48 -05:00
committed by Hari
parent 53b9b62941
commit 7ceddebf16
5 changed files with 13 additions and 0 deletions

View File

@@ -13,5 +13,6 @@
name: ranger-tox-bandit
parent: openstack-tox
timeout: 600
pre-run: playbooks/run_unit_test_job.yaml
vars:
tox_envlist: bandit-baseline

2
bindep.txt Normal file
View File

@@ -0,0 +1,2 @@
python3-dev [platform:dpkg test]
default-libmysqlclient-dev [platform:dpkg test]

View File

@@ -0,0 +1,8 @@
- hosts: all
roles:
- role: bindep
bindep_profile: test
bindep_dir: "{{ zuul_work_dir }}"
- test-setup
- ensure-tox
- tox

View File

@@ -18,3 +18,4 @@ sqlalchemy-migrate>=0.11.0 # Apache-2.0
keystoneauth1>=3.9.0 # Apache-2.0
keystonemiddleware>=4.17.0 # Apache-2.0
python-keystoneclient>=3.8.0 # Apache-2.0
mysqlclient>=1.4.0

1
tools/test-setup.sh Normal file
View File

@@ -0,0 +1 @@
#!/bin/bash -xe