parent
b6a49c85f2
commit
e2ef7c72c2
@ -0,0 +1,25 @@
|
|||||||
|
From 1c85f6c244e5b71f625486cf6a0cb84402cc12f9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Adrien=20Verg=C3=A9?= <adrienverge@gmail.com>
|
||||||
|
Date: Wed, 15 Jul 2020 11:21:02 +0200
|
||||||
|
Subject: [PATCH] Skip test on quoted_strings failing if PyYAML is too old
|
||||||
|
|
||||||
|
---
|
||||||
|
tests/rules/test_quoted_strings.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/rules/test_quoted_strings.py b/tests/rules/test_quoted_strings.py
|
||||||
|
index d66cb0b..7c01441 100644
|
||||||
|
--- a/tests/rules/test_quoted_strings.py
|
||||||
|
+++ b/tests/rules/test_quoted_strings.py
|
||||||
|
@@ -360,7 +360,7 @@ class QuotedTestCase(RuleTestCase):
|
||||||
|
'k6: ":wq"\n', # fails
|
||||||
|
conf, problem1=(3, 5), problem2=(5, 5), problem3=(7, 5))
|
||||||
|
|
||||||
|
- def test_only_when_needed_extras(self):
|
||||||
|
+ def skip_test_only_when_needed_extras(self):
|
||||||
|
conf = ('quoted-strings:\n'
|
||||||
|
' required: true\n'
|
||||||
|
' extra-allowed: [^http://]\n')
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
Loading…
Reference in new issue