Debian Codegraph @

debian/patches/disable-network-tests

raw
1 Index: b/tests/UnitTests.hs
2 ===================================================================
3 --- a/tests/UnitTests.hs
4 +++ b/tests/UnitTests.hs
5 @@ -344,7 +344,7 @@ commonTestsWith verb site = [
6 , testCase "put" $ basicPut verb site
7 , testCase "delete" $ basicDelete verb site
8 , testCase "404" $ throwsStatusCode verb site
9 - , testCase "headRedirect" $ headRedirect verb site
10 +-- , testCase "headRedirect" $ headRedirect verb site
11 , testCase "redirectOverflow" $ redirectOverflow verb site
12 , testCase "invalidURL" $ invalidURL verb site
13 , testCase "funkyScheme" $ funkyScheme verb site
14 @@ -378,8 +378,6 @@ httpbinTestsWith verb site = commonTests
15
16 -- Tests that our local httpbin clone doesn't yet support.
17 httpbinTests verb = [testGroup "httpbin" [
18 - testGroup "http" $ httpbinTestsWith verb ("http://httpbin.org" <>)
19 - , testGroup "https" $ httpbinTestsWith verb ("https://httpbin.org" <>)
20 ]]
21
22 -- Tests that httpbin.org doesn't support.
23 @@ -407,8 +405,6 @@ testWith tests = do
24 s <- Session.newSession
25 flip E.finally (killThread tid) .
26 defaultMain $ tests <>
27 - [ testGroup "plain" $ httpbinTests basic
28 - , testGroup "session" $ httpbinTests (session s)] <>
29 case mserv of
30 Nothing -> []
31 Just binding -> [