← Back to team overview

registry team mailing list archive

[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset

 

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 member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).



Follow ups

References