test: minors fixes

This commit is contained in:
Adrien Waksberg 2021-08-18 14:57:43 +02:00
parent 58d940562a
commit bfb5bd0233
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
--- ---
galaxy_info: galaxy_info:
role_name: Influxdb role_name: influxdb
author: Adrien Waksberg author: Adrien Waksberg
company: Adrien Waksberg company: Adrien Waksberg
description: Install and configure InfluxDB description: Install and configure InfluxDB

View file

@ -29,7 +29,7 @@ def test_users(host):
cmd = host.run('influx -execute "SHOW USERS"') cmd = host.run('influx -execute "SHOW USERS"')
assert cmd.succeeded assert cmd.succeeded
assert re.search(r'admin\s+true', cmd.stdout) assert re.search(r'admin\s+true', cmd.stdout)
assert re.search(r'user\s+false', cmd.stdout) assert re.search(r'test\s+false', cmd.stdout)
assert not re.search('user_absent', cmd.stdout) assert not re.search('user_absent', cmd.stdout)
def test_databases(host): def test_databases(host):