registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #09405
Re: [Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
Awesome - I'll add that, and adding that in to the test suite was the
one thing I didn't know how to do. :)
Adam
On Tue, Jul 27, 2010 at 11:35 AM, Chuck Thier <607912@xxxxxxxxxxxxxxxxxx> wrote:
> Hey Adam,
>
> I was taking a look at your branch, and it looks like it is working. I
> would suggest adding the following to the end of the
> test_create_account_already_exists:
>
> with self.controller.get_conn() as conn:
> rows = conn.execute('''
> SELECT password FROM account
> WHERE account = ? AND user = ?''',
> ('test','tester')).fetchall()
> self.assertEquals(len(rows), 1)
> self.assertEquals(rows[0][0], 'testily')
>
> If you add that, then it should be good enough for a merge request.
>
> --
> swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
> https://bugs.launchpad.net/bugs/607912
> You received this bug notification because you are a bug assignee.
>
--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E: adam@xxxxxxxxxxx
--
swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
https://bugs.launchpad.net/bugs/607912
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).
References