Did I find the right examples for you? yes no

All Samples(28)  |  Call(28)  |  Derive(0)  |  Import(0)

src/t/x/txAWS-0.2.3/txaws/server/tests/test_resource.py   txAWS(Download)
        endpoint = AWSServiceEndpoint("http://uri")
        query = Query(action="SomeAction", creds=creds, endpoint=endpoint)
        query.sign()
        request = FakeRequest(query.params, endpoint)
 
        endpoint = AWSServiceEndpoint("http://uri")
        query = Query(action="SomeAction", creds=creds, endpoint=endpoint)
        query.sign()
        request = FakeRequest(query.params, endpoint)
 
        endpoint = AWSServiceEndpoint("http://uri")
        query = Query(action="SomeAction", creds=creds, endpoint=endpoint)
        query.sign()
        request = FakeRequest(query.params, endpoint)
 
        query = Query(action="SomeAction", creds=creds, endpoint=endpoint,
                      other_params={"Foo": "bar", "Version": "1.2.3"})
        query.sign()
        request = FakeRequest(query.params, endpoint)
 
        query = Query(action="SomeAction", creds=creds, endpoint=endpoint,
                      other_params={"Version": u"1.2.3"})
        query.sign()
        request = FakeRequest(query.params, endpoint)
 

src/t/x/txAWS-0.2.3/txaws/ec2/tests/test_client.py   txAWS(Download)
            endpoint=self.endpoint,
            time_tuple=(2007, 11, 12, 13, 14, 15, 0, 0, 0))
        query.sign()
        self.assertEqual("G4c2NtQaFNhWWT8EWPVIIOpHVr0mGUYwJVYss9krsMU=",
            query.params["Signature"])
            time_tuple=(2007, 11, 12, 13, 14, 15, 0, 0, 0),
            other_params={"SignatureVersion": "1"})
        query.sign()
        self.assertEqual(
            "9xP+PIs/3QXW+4mWX6WGR4nGqfE=", query.params["Signature"])