def test_with_no_user(self):
data = {
'auth': {
'identity': {
'methods': ['password'],
'password': {
},
},
},
}
self.authenticate(data, expected_status=httplib.BAD_REQUEST)