txawsteam team mailing list archive
Mailing list archive
Re: [Merge] lp:~oubiwann/txaws/416109-arbitrary-endpoints into lp:txaws
>  Some flakes
> txaws/ec2/client.py:6: 'b64encode' imported but unused
> txaws/storage/client.py:10: 'b64encode' imported but unused
> txaws/storage/client.py:11: 'md5' imported but unused
> txaws/storage/client.py:18: 'AWSCredentials' imported but unused
> txaws/tests/test_credentials.py:6: 'TestCase' imported but unused
> + try:
> + gtk2reactor.install()
> + except AssertionError:
> + pass
> Really? What's the reason behind this change?
I was getting errors in the unit tests without this. I've just commented it out, and run it again, but I'm not longer getting the errors. Dunno. Removed.
> key_id = content.get_children().get_children().get_text()
> secret_key =
> creds = AWSCredentials(access_key=key_id, secret_key=secret_key)
> + region = AWSServiceRegion(creds=creds)
> This change seems unecessary.
Yup, it is. Removed.
> +from twisted.web.client import _parse
> It's pretty sad, but you can't import that, it's private. You have to copy the
Copied this function and its unit tests from twisted.
> + self.assertEquals(client1, client2)
> + def test_get_s3_client(self):
> There is an extra blank line here.
This was removed with the changes I made from Jamu's comments.
Your team txAWS Team is subscribed to branch lp:txaws.