diff --git a/tests/lunch_bench.py b/tests/lunch_bench.py index d73b369..617ec5d 100644 --- a/tests/lunch_bench.py +++ b/tests/lunch_bench.py @@ -20,7 +20,8 @@ current_date = datetime.now() quack_root = os.getenv('QUACK_ROOT') # User Name -user_name = os.getlogin() +# Fallback to 'default_user' if USER is not set +user_name = os.getenv('USER', 'default_user') # Operating System os_name = platform.system()