def test_ykman_is_installed(monkeypatch, tmp_path): ''' Test check if ykman is installed ''' monkeypatch.setenv('HOME', str(tmp_path)) init_tmpdir(tmp_path, 'expired') from awsmfav2.cli import CLI cli = CLI() assert (cli._ykman_is_installed())
def test_ykman_is_installed(monkeypatch, tmp_path): """ Test check if ykman is installed """ monkeypatch.setenv("HOME", str(tmp_path)) init_tmpdir(tmp_path, "expired") from awsmfav2.cli import CLI cli = CLI() assert cli._ykman_is_installed()