[webkitpy] Add a WestonDriver unit test
Created attachment 218682 [details] Patch
Comment on attachment 218682 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=218682&action=review > Tools/Scripts/webkitpy/port/westondriver_unittest.py:67 > + driver._weston_process = None I don't really get this one, why do you do this here? Looks good otherwise.
(In reply to comment #2) > (From update of attachment 218682 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=218682&action=review > > > Tools/Scripts/webkitpy/port/westondriver_unittest.py:67 > > + driver._weston_process = None > > I don't really get this one, why do you do this here? Looks good otherwise. This prevents calling terminate() on the subprocess.Popen mock representation, on which there's no method of such name. This (proper cleanup in WestonDriver.stop()) is rather tested in test_stop() instead. I'll put a comment above this assignment line, explaining why it is done.
Committed r160286: <http://trac.webkit.org/changeset/160286>