[Python-apps-commits] r13561 - in packages/vdirsyncer/trunk/debian/patches (1 file)

fpytloun-guest at users.alioth.debian.org fpytloun-guest at users.alioth.debian.org
Thu Aug 25 16:30:43 UTC 2016


    Date: Thursday, August 25, 2016 @ 16:30:42
  Author: fpytloun-guest
Revision: 13561

Add missing patch

Added:
  packages/vdirsyncer/trunk/debian/patches/0004-Suppress-HealthCheck.too_slow-health-check.patch

Added: packages/vdirsyncer/trunk/debian/patches/0004-Suppress-HealthCheck.too_slow-health-check.patch
===================================================================
--- packages/vdirsyncer/trunk/debian/patches/0004-Suppress-HealthCheck.too_slow-health-check.patch	                        (rev 0)
+++ packages/vdirsyncer/trunk/debian/patches/0004-Suppress-HealthCheck.too_slow-health-check.patch	2016-08-25 16:30:42 UTC (rev 13561)
@@ -0,0 +1,31 @@
+From ee88afee6ad18219ef3d5fd579e8fd3073d8acb5 Mon Sep 17 00:00:00 2001
+From: Filip Pytloun <filip at pytloun.cz>
+Date: Thu, 25 Aug 2016 18:24:24 +0200
+Subject: Suppress HealthCheck.too_slow health check
+
+To fix tests on slow platforms like armhf
+---
+ tests/test_metasync.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tests/test_metasync.py b/tests/test_metasync.py
+index bccc779..02a2397 100644
+--- a/tests/test_metasync.py
++++ b/tests/test_metasync.py
+@@ -1,7 +1,7 @@
+ # -*- coding: utf-8 -*-
+ 
+ import hypothesis.strategies as st
+-from hypothesis import example, given
++from hypothesis import example, given, settings
+ 
+ import pytest
+ 
+@@ -93,6 +93,7 @@ values = st.text().filter(lambda x: normalize_meta_value(x) == x)
+ metadata = st.dictionaries(keys, values)
+ 
+ 
++ at settings(suppress_health_check=["HealthCheck.too_slow"])
+ @given(
+     a=metadata, b=metadata,
+     status=metadata, keys=st.sets(keys),




More information about the Python-apps-commits mailing list