Bug 1433905 - [mozprocess] Fix broken process location in test_process_output_nonewline. draft
authorHenrik Skupin <mail@hskupin.info>
Tue, 29 May 2018 15:50:05 +0200
changeset 801034 43ead1bad121ad8482e84625ed803323c6ae5650
parent 801033 a4691a7badc2db905f443af6d8d72a796926ce1b
child 801035 46cbb1b664ce35cd90bf43376cfdb33f7d30fd1d
push id111546
push userbmo:hskupin@gmail.com
push dateTue, 29 May 2018 16:17:28 +0000
bugs1433905
milestone62.0a1
Bug 1433905 - [mozprocess] Fix broken process location in test_process_output_nonewline. MozReview-Commit-ID: 3l07W3A8Sy7
testing/mozbase/mozprocess/tests/test_output.py
--- a/testing/mozbase/mozprocess/tests/test_output.py
+++ b/testing/mozbase/mozprocess/tests/test_output.py
@@ -29,17 +29,18 @@ class ProcTestOutput(proctest.ProcTest):
         p.wait()
 
         self.determine_status(p, False, ())
 
     def test_process_output_nonewline(self):
         """
         Process is started, outputs data with no newline
         """
-        p = processhandler.ProcessHandler([self.python, "scripts", "procnonewline.py"],
+        p = processhandler.ProcessHandler([self.python,
+                                           os.path.join("scripts", "procnonewline.py")],
                                           cwd=here)
 
         p.run()
         p.processOutput(timeout=5)
         p.wait()
 
         self.determine_status(p, False, ())