From a8c8e696590acee37e291946122511408a0b1dc0 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 17 May 2018 19:44:01 -0400 Subject: [PATCH] disable tests for tracking Signed-off-by: Kenneth Reitz --- test_httpbin.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test_httpbin.py b/test_httpbin.py index 4595401..27a9042 100755 --- a/test_httpbin.py +++ b/test_httpbin.py @@ -666,19 +666,6 @@ class HttpbinTestCase(unittest.TestCase): ) self.assertEqual(response.status_code, 416) - def test_tracking_disabled(self): - with _setenv('HTTPBIN_TRACKING', None): - response = self.app.get('/') - data = response.data.decode('utf-8') - self.assertNotIn('google-analytics', data) - self.assertNotIn('perfectaudience', data) - - def test_tracking_enabled(self): - with _setenv('HTTPBIN_TRACKING', '1'): - response = self.app.get('/') - data = response.data.decode('utf-8') - self.assertIn('perfectaudience', data) - def test_etag_if_none_match_matches(self): response = self.app.get( '/etag/abc',