no separate test suite
authorKenneth Reitz <me@kennethreitz.com>
Sat, 20 Aug 2011 23:40:33 +0000 (19:40 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 20 Aug 2011 23:40:33 +0000 (19:40 -0400)
test_unicode.py [deleted file]

diff --git a/test_unicode.py b/test_unicode.py
deleted file mode 100644 (file)
index 38a1dfc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-from __future__ import with_statement
-
-import unittest
-import cookielib
-
-try:
-    import omnijson as json
-except ImportError:
-    import json
-
-import requests
-
-
-
-HTTPBIN_URL = 'http://httpbin.org/'
-HTTPSBIN_URL = 'https://httpbin.ep.io/'
-
-# HTTPBIN_URL = 'http://staging.httpbin.org/'
-# HTTPSBIN_URL = 'https://httpbin-staging.ep.io/'
-
-
-def httpbin(*suffix):
-    """Returns url for HTTPBIN resource."""
-
-    return HTTPBIN_URL + '/'.join(suffix)
-
-
-def httpsbin(*suffix):
-    """Returns url for HTTPSBIN resource."""
-
-    return HTTPSBIN_URL + '/'.join(suffix)
-
-
-SERVICES = (httpbin, httpsbin)
-
-
-
-class RequestsTestSuite(unittest.TestCase):
-    """Requests test cases."""
-
-
-    def setUp(self):
-        pass
-
-
-    def tearDown(self):
-        """Teardown."""
-        pass
-
-
-    def test_HTTP_200_OK_GET_ON_ISO88591(self):
-        r = requests.get("http://www.qypedeals.de/Verzehrgutschein+für+Jellyfish")
-        self.assertEqual(r.status_code, 200)
-        self.assertIsInstance(r.content, unicode)
-    
-    def test_HTTP_200_OK_GET_ON_BIG5(self):
-        r = requests.get("http://google.com.hk/")
-        self.assertEqual(r.status_code, 200)
-        self.assertIsInstance(r.content, unicode)
-
-
-if __name__ == '__main__':
-    unittest.main()