don't set the current user to my_user in frontend_test_utils. let it default to the new autotest_system user.
Signed-off-by: Steve Howard <[email protected]>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4156 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_interface_unittest.py b/frontend/afe/rpc_interface_unittest.py
index 7a8b7e2..9ba13cb 100755
--- a/frontend/afe/rpc_interface_unittest.py
+++ b/frontend/afe/rpc_interface_unittest.py
@@ -258,9 +258,9 @@
paths = [entry['execution_path'] for entry in entries_and_tasks]
self.assertEquals(paths, ['hosts/host1/3-verify',
- '2-my_user/host1',
+ '2-autotest_system/host1',
'hosts/host1/2-verify',
- '1-my_user/host1',
+ '1-autotest_system/host1',
'hosts/host1/1-verify'])
verify2 = entries_and_tasks[2]
@@ -309,7 +309,7 @@
task = tasks[0]
self.assertEquals(task['task'], models.SpecialTask.Task.VERIFY)
- self.assertEquals(task['requested_by'], 'my_user')
+ self.assertEquals(task['requested_by'], 'autotest_system')