diff options
author | Johan Fleury <jfleury@arcaik.net> | 2020-02-12 15:11:18 +0100 |
---|---|---|
committer | Johan Fleury <jfleury@arcaik.net> | 2020-02-12 15:11:18 +0100 |
commit | 5fd7b5290565c2e6b304fff41fe19c4a77011e13 (patch) | |
tree | 4c681260be1ef70af820870857e613c60466f7a9 /debian | |
parent | 42cffe340c783cf0252ff74b06be6bc2ac8829a3 (diff) |
Import upstream patch to fix tests suite
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/fix-test-suite | 16 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/fix-test-suite b/debian/patches/fix-test-suite new file mode 100644 index 0000000..e2d0a2c --- /dev/null +++ b/debian/patches/fix-test-suite @@ -0,0 +1,16 @@ +From: Grokzen <Grokzen@gmail.com> +Subject: Fix broken test where errors data was wrong and duplicated +Origin: upstream, https://github.com/Grokzen/pykwalify/commit/744816a146e567a4c1efd30e874ff76134754fe2#diff-5775e55d1d74d158ea7971b173b82307 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950638 + +--- a/tests/files/fail/test_type_float.yaml ++++ b/tests/files/fail/test_type_float.yaml +@@ -17,8 +17,6 @@ + seq: + - type: float +-errors: +- - "Value 'foo' is not of type 'float'. Path: '/0'" + errors: + - "Value 'True' is not of type 'float'. Path: '/1'" + - "Value 'foo' is not of type 'float'. Path: '/0'" + --- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..6f360be --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-test-suite |