From: Jeff Garzik <jeff@garzik.org>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: Jeff Darcy <jdarcy@redhat.com>,
Project Hail <hail-devel@vger.kernel.org>
Subject: Re: a boto-works test for tabled?
Date: Fri, 18 Dec 2009 13:45:38 -0500 [thread overview]
Message-ID: <4B2BCDD2.4020802@garzik.org> (raw)
In-Reply-To: <20091218100928.1d4ce2d5@redhat.com>
On 12/18/2009 12:09 PM, Pete Zaitcev wrote:
> Since I have no clue about Python, I had trouble making their standard
> testing harness to work, so I just copied the test into a local file,
> and appended an invocation like this:
>
> from boto.s3.connection import S3Connection
> from boto.s3.connection import OrdinaryCallingFormat, SubdomainCallingFormat
> from boto.exception import S3PermissionsError
>
> # class S3ConnectionTest (unittest.TestCase):
> class S3ConnectionTest:
> def test_1_basic(self):
> c = S3Connection(aws_access_key_id="testuser",
> aws_secret_access_key="testpass",
> is_secure=False,
> host="hitlain.zaitcev.lan",
> debug=1,
> calling_format=SubdomainCallingFormat())
> ......................
>
> t = S3ConnectionTest()
> t.test_1_basic()
Neat. Does that return the desired exit status for our tests?
Jeff
next prev parent reply other threads:[~2009-12-18 18:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-18 10:14 a boto-works test for tabled? Jeff Garzik
2009-12-18 15:57 ` Jeff Darcy
2009-12-18 17:09 ` Pete Zaitcev
2009-12-18 17:16 ` Jeff Darcy
2009-12-18 18:47 ` Jeff Garzik
2009-12-18 18:45 ` Jeff Garzik [this message]
2009-12-18 17:15 ` Pete Zaitcev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B2BCDD2.4020802@garzik.org \
--to=jeff@garzik.org \
--cc=hail-devel@vger.kernel.org \
--cc=jdarcy@redhat.com \
--cc=zaitcev@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.