webkitpy: fix test code after bug 78181
Created attachment 127500 [details] Patch
Change committed in http://trac.webkit.org/changeset/108141 .