def test_str(self): dictionary = { 'proxies': { 'http': 'http://*****:*****@10.10.1.10:1080' }, 'verify': False } o = Options(dictionary) self.assertEqual( "Options: " + os.linesep + "{'verify': False, 'proxies': {'http': 'http://*****:*****@10.10.1.10:1080'}}", o.__str__())
def test_str(self): dictionary = {'proxies': {'http': 'http://*****:*****@10.10.1.10:1080'}, 'verify': False} o = Options(dictionary) self.assertEqual("Options: " + os.linesep + "{'verify': False, 'proxies': {'http': 'http://*****:*****@10.10.1.10:1080'}}", o.__str__())