commit 17162e650699a92c1a510cac572835aa188d5de2
Author: Victor Stinner <email address hidden>
Date: Mon Oct 23 15:26:27 2017 +0200
Python2: Add mock and unittest2 test dependencies
* unittest.mock was added in Python 3.3 standard library: use
external 'mock' module, backport for Python 2.7
* assertRaisesRegex() method was added to Python 3.2 unittest module:
use external 'unitttest2' backport for Python 2.7 to not have to
rewrite unit tests just because of Python 2.7
Both added dependencies are specific to Python 2.7 and have no impact
on Python 3.
Reviewed: https:/ /review. openstack. org/514318 /git.openstack. org/cgit/ openstack/ ospurge/ commit/ ?id=17162e65069 9a92c1a510cac57 2835aa188d5de2
Committed: https:/
Submitter: Zuul
Branch: master
commit 17162e650699a92 c1a510cac572835 aa188d5de2
Author: Victor Stinner <email address hidden>
Date: Mon Oct 23 15:26:27 2017 +0200
Python2: Add mock and unittest2 test dependencies
* unittest.mock was added in Python 3.3 standard library: use
external 'mock' module, backport for Python 2.7
* assertRaisesRegex() method was added to Python 3.2 unittest module:
use external 'unitttest2' backport for Python 2.7 to not have to
rewrite unit tests just because of Python 2.7
Both added dependencies are specific to Python 2.7 and have no impact
on Python 3.
Related-Bug: 1726399 b7bed5ba99900be 2432d18da9e
Change-Id: Ieb32e85d6f40f9