summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorBen Nemec <bnemec@redhat.com>2019-06-03 17:59:08 +0000
committerBen Nemec <bnemec@redhat.com>2019-06-03 20:55:31 +0000
commitdc9b711a3fa494e6d363657eeb8c2049585d5976 (patch)
tree61b66607d444dd10fda7144ec5eebed477774cbc /test-requirements.txt
parent9513d26b47c59a3c97aefab46c3e5a40d953e286 (diff)
downloadoslo-config-dc9b711a3fa494e6d363657eeb8c2049585d5976.tar.gz
Add unit tests for validator
We need to bump our minimum version for mock to 3.0.0 in order for mocking of 'open' to work correctly with the ConfigParser. From the mock changelog: "Issue #32933: unittest.mock.mock_open() now supports iteration over the file contents." Change-Id: I9522083b7b0f785fe0e9cbdf8a9042112820bed4
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index dab06dd..ce22df6 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -24,7 +24,7 @@ sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
# mocking framework
-mock>=2.0.0 # BSD
+mock>=3.0.0 # BSD
requests_mock>=1.5.0 # Apache-2.0
# Bandit security code scanner