Skip to content

Commit 08a9342

Browse files
committed
Missed SetApplicationName in tests
mhammond#1990 (comment)
1 parent ba9e475 commit 08a9342

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

com/win32comext/taskscheduler/test/test_addtask_2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@
2020

2121
t = ts.NewWorkItem(task_name)
2222
t.SetComment("Test a task running as local system acct")
23-
t.SetApplicationName("c:\\Python37\\python.exe")
23+
t.SetApplicationName("py.exe")
2424
t.SetPriority(taskscheduler.REALTIME_PRIORITY_CLASS)
2525
t.SetParameters("test_localsystem.py")
26-
t.SetWorkingDirectory("c:\\Python37")
2726
t.SetCreator("test_addtask_2.py")
2827
t.SetMaxRunTime(20000) # milliseconds
2928
t.SetFlags(taskscheduler.TASK_FLAG_DELETE_WHEN_DONE)

0 commit comments

Comments
 (0)