10000
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.
2 parents dbc2007 + 60e4054 commit 1bd84e6Copy full SHA for 1bd84e6
influxdb/tests/server_tests/client_test_with_server.py
@@ -183,9 +183,7 @@ def test_get_list_users(self):
183
def test_create_user_blank_username(self):
184
with self.assertRaises(InfluxDBClientError) as ctx:
185
self.cli.create_user('', 'secret_password')
186
- self.assertEqual(400, ctx.exception.code)
187
- self.assertIn('{"error":"error parsing query: '
188
- 'found WITH, expected identifier',
+ self.assertIn('username required',
189
ctx.exception.content)
190
rsp = list(self.cli.query("SHOW USERS")['results'])
191
self.assertEqual(rsp, [])
0 commit comments