Allow auth providers to influence is_active (#15557)
* Allow auth providers to influence is_active * Fix auth script test
This commit is contained in:
parent
a42288d056
commit
2fcacbff23
11 changed files with 82 additions and 23 deletions
|
@ -47,7 +47,7 @@ async def test_add_user(hass, provider, capsys, hass_storage):
|
|||
assert len(hass_storage[hass_auth.STORAGE_KEY]['data']['users']) == 1
|
||||
|
||||
captured = capsys.readouterr()
|
||||
assert captured.out == 'User created\n'
|
||||
assert captured.out == 'Auth created\n'
|
||||
|
||||
assert len(data.users) == 1
|
||||
data.validate_login('paulus', 'test-pass')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue