def test_TS_proxy(self):

        # test constructor
        example_proxy = "some.proxy.com:1337"
        ts = TwitterSearch('aaabbb','cccddd','111222','333444', proxy=example_proxy, verify=False)
        self.assertEqual(ts.get_proxy(), example_proxy)

        # test manual setup
        example_proxy = "test.com:123"
        ts.set_proxy(example_proxy)
        self.assertEqual(ts.get_proxy(), example_proxy)

        try:
            ts.set_proxy(29.0)
            self.assertTrue(False, "Exception should be raised instead")
        except TwitterSearchException as e:
            self.assertEqual(e.code, 1009, "Exception code should be 401 but is %i" % e.code)
jQuery GET method for retrieving user details.
dataset/ETHPy150Open ckoepp/TwitterSearch/tests/test_ts.py/TwitterSearchTest.test_TS_proxy--crossover with--dataset/ETHPy150Open satnet-project/server/services/accounts/ajax.py/user_details