def test_parsed_query(self): uri_string = "http://foo:80/?foo=bar" uri = RedirectURI(uri_string, self.oauth_settings) self.assertEqual( uri.parsed_query()["foo"], "bar", "check that the value is not a list since parseqs seems hellbent on making it one", )