We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c95e5 commit 60e4054Copy full SHA for 60e4054
influxdb/tests/server_tests/client_test_with_server.py
@@ -210,9 +210,7 @@ def test_get_list_users(self):
210
def test_create_user_blank_username(self):
211
with self.assertRaises(InfluxDBClientError) as ctx:
212
self.cli.create_user('', 'secret_password')
213
- self.assertEqual(400, ctx.exception.code)
214
- self.assertIn('{"error":"error parsing query: '
215
- 'found WITH, expected identifier',
+ self.assertIn('username required',
216
ctx.exception.content)
217
rsp = list(self.cli.query("SHOW USERS")['results'])
218
self.assertEqual(rsp, [])
0 commit comments