'Test revoking admin privs, deprecated as of v0.9.0.'

@unittest.skip(u'Broken    as    of    0.9.0')
def test_revoke_admin_privileges(self):

    self.cli.create_user(u'test', u'test', admin=True)
    self.assertEqual([{u'user': u'test', u'admin': True}], self.cli.get_list_users())
    self.cli.revoke_admin_privileges(u'test')
    self.assertEqual([{u'user': u'test', u'admin': False}], self.cli.get_list_users())
