Description: Remove test_timeout()
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/938093
Forwarded: no
Last-Update: 2019-09-02

Index: python-pysaml2/tests/test_32_cache.py
===================================================================
--- python-pysaml2.orig/tests/test_32_cache.py
+++ python-pysaml2/tests/test_32_cache.py
@@ -114,16 +114,3 @@ class TestClass:
 
         assert _eq(self.cache.receivers(nid[1]), ["abcd", "bcde"])
         assert nid_eq(self.cache.subjects(), nid[0:2])
-
-    def test_timeout(self):
-        not_on_or_after = str_to_time(in_a_while(seconds=1))
-        session_info = SESSION_INFO_PATTERN.copy()
-        session_info["ava"] = {"givenName": ["Alex"],
-                               "surName": ["Rodriguez"]}
-        self.cache.set(nid[2], "bcde", session_info,
-                       not_on_or_after)
-
-        time.sleep(2)
-        (ava, inactive) = self.cache.get_identity(nid[2])
-        assert inactive == ["bcde"]
-        assert ava == {}
