From 665f352132a2498a24b14dc1cbb4c2608454d2ae Mon Sep 17 00:00:00 2001 From: vponomaryov Date: Wed, 23 Mar 2016 20:35:06 +0200 Subject: [PATCH] Add caution to test-requirements that says 'PyMySQL' and 'psycopg2' dependencies should not be removed as they are used for DB migration tests. And code, that handles it, is located in oslo_db lib. Change-Id: Ib7141d568287a5499c3802d1a2d7015de0a5a89f --- test-requirements.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 46306c9741..ec7d0460ca 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,10 +11,15 @@ ddt>=1.0.1 # MIT fixtures>=1.3.1 # Apache-2.0/BSD mock>=1.2 # BSD iso8601>=0.1.9 # MIT -PyMySQL>=0.6.2 # MIT License oslotest>=1.10.0 # Apache-2.0 oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 + +# Do not remove 'PyMySQL' and 'psycopg2' dependencies. They are used +# by oslo_db lib for running MySQL and PostgreSQL DB migration tests. +# See http://docs.openstack.org/developer/oslo.db/contributing.html#how-to-run-unit-tests +PyMySQL>=0.6.2 # MIT License psycopg2>=2.5 # LGPL/ZPL + python-subunit>=0.0.18 # Apache-2.0/BSD requests-mock>=0.7.0 # Apache-2.0 sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD