@@ -0,0 +1,1357 @@
+# -*- coding: utf-8 -*-%0A%0Afrom hbase.compat import PY26%0Afrom hbase.compat import comp_bytes%0A%0Aimport mock%0A%0Aif PY26:  # pragma: no cover%0A    import unittest2 as unittest%0Aelse:%0A    import unittest%0A%0A%0Aclass TableListTests(unittest.TestCase):%0A%0A    def _make_one(self):%0A        from hbase import HBase%0A        return HBase('localhost', '8080')%0A%0A    @mock.patch(%22hbase.compat.urlopen%22)%0A    def test_query_tables_list(self, urlopen):%0A        urlopen().readall.return_value = b'%7B%22table%22:%5B%7B%22name%22:%22test%22%7D%5D%7D'%0A        hb_con = self._make_one()%0A        self.assertEqual(list(hb_con.get_tables()), %5B'test'%5D)%0A%0A    @mock.patch(%22hbase.compat.urlopen%22)%0A    def test_query_version_information(self, urlopen):%0A        urlopen().readall.return_value = comp_bytes(%0A            ','.join(%5B'%7B%22JVM%22:%22Oracle Corporation 1.7.0_07-23.3-b01%22',%0A                      '%22Jersey%22:%221.8%22',%0A                      '%22OS%22:%22Linux 3.4.2-x86_64-linode25 amd64%22',%0A                      '%22REST%22:%220.0.2%22,%22Server%22:%22jetty/6.1.26%22%7D'%5D), 'utf-8')%0A        hb_con = self._make_one()%0A        self.assertEqual(hb_con.get_version(), %0A                         %7B%22JVM%22: %22Oracle Corporation 1.7.0_07-23.3-b01%22,%0A                          %22Jersey%22: %221.8%22,%0A                          %22OS%22: %22Linux 3.4.2-x86_64-linode25 amd64%22,%0A                          %22REST%22: %220.0.2%22,%0A                          %22Server%22: %22jetty/6.1.26%22%7D)%0A

Revert "haven't found a sensible way to test things"