summaryrefslogtreecommitdiff
path: root/unittests/failuretests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/failuretests.py')
-rw-r--r--unittests/failuretests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/failuretests.py b/unittests/failuretests.py
index bcc4aafdb..3743f2943 100644
--- a/unittests/failuretests.py
+++ b/unittests/failuretests.py
@@ -149,7 +149,7 @@ class FailureTests(BasePlatformTests):
raise unittest.SkipTest('zlib not found with pkg-config')
a = (("dependency('zlib', method : 'fail')", 'dependency keyword argument "method" must be one of auto, builtin, cmake, config-tool, cups-config, dub, extraframework, libwmf-config, pcap-config, pkg-config, qmake, sdlconfig, sysconfig, system, not fail'),
("dependency('zlib', static : '1')", "dependency keyword argument 'static' was of type str but should have been one of: bool, NoneType"),
- ("dependency('zlib', version : 1)", "Item must be a list or one of <class 'str'>"),
+ ("dependency('zlib', version : 1)", r"dependency keyword argument 'version' was of type array\[int\] but should have been array\[str\]"),
("dependency('zlib', required : 1)", "dependency keyword argument 'required' was of type int but should have been one of: bool, UserFeatureOption"),
("dependency('zlib', method : 1)", "dependency keyword argument 'method' was of type int but should have been str"),
("dependency('zlibfail')", self.dnf),)