summaryrefslogtreecommitdiffhomepage
path: root/test/test_configuration.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-04-24 05:08:56 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-04-24 05:08:56 +0100
commit6a9a4fe0d46263d4d158803d4a82851e240e0e63 (patch)
treef67061d63bbcf79e503b7472713b92dfdf6b6d41 /test/test_configuration.py
parentaf9392af1fec054119c8ddcd356ade0ea3fbf913 (diff)
downloadunit-6a9a4fe0d46263d4d158803d4a82851e240e0e63.tar.gz
unit-6a9a4fe0d46263d4d158803d4a82851e240e0e63.tar.bz2
Tests: introduced module version specification in prerequisites.
Diffstat (limited to 'test/test_configuration.py')
-rw-r--r--test/test_configuration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index daba874b..24efc914 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -3,7 +3,7 @@ from unit.control import TestControl
class TestConfiguration(TestControl):
- prerequisites = {'modules': ['python']}
+ prerequisites = {'modules': {'python': 'any'}}
def test_json_empty(self):
self.assertIn('error', self.conf(''), 'empty')