From 2db0d813d4325e6ca45a12cb275d5cf765f76232 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 4 Sep 2019 15:24:45 +0200 Subject: test_task: use system username for local testing --- test_task.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_task.py b/test_task.py index f268bc0..b8d6e44 100755 --- a/test_task.py +++ b/test_task.py @@ -202,6 +202,9 @@ if __name__ == '__main__': params['username'] = user_params['username'] except Exception as ex: print(ex) + else: + # use system username to generate parameters + params['username'] = getpass.getuser() if basic_args.generate_params: #prejema lahko samo stringe in ne številk (potrebno je str(int) -- cgit v1.2.1