def test_no_ver(app_name, app_author): print("\n-- app dirs (without optional 'version')") dirs = app_path.AppPath(app_name, app_author, ensure_existence_on_access=False) for prop in props: print(f"{prop}: {getattr(dirs, prop)}") dirs.clean()
def test_all(app_name: str, app_author: str): print("-- app dirs (with optional 'version')") dirs = app_path.AppPath(app_name, app_author, app_version="1.0", ensure_existence_on_access=False) for prop in props: print(f"{prop}: {getattr(dirs, prop)}") dirs.clean()
def test_no_author(app_name): print("\n-- app dirs (with disabled '_app_author')") dirs = app_path.AppPath(app_name, ensure_existence_on_access=False) for prop in props: print(f"{prop}: {getattr(dirs, prop)}") dirs.clean()