from default.common.test_common import *  # noqa: F401,F403


def test_new_user_default(host):
    new_user = host.user('new_user')
    password_hash = {
        'focal': '$6$8<PASSWORD>62$f<PASSWORD>q/<PASSWORD>h'
                 '7pJP1D3iFl.235y9w1mmPwz4wzpwoeDguCxj0',
        'buster': '$6$496895$t/heuOZjcNNJv.LND58guuROWQSl.bZR4xT9jaCVVFsv7o4C'
                  '<PASSWORD>cmiBpP8FemyrCKb1MuAjuWtpcYdftsQLLJ1'
    }

    assert new_user.password == password_hash[host.system_info.codename]
