Summary: | [webkitcorepy] Add test suite with temp directory | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> | ||||||||||
Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | aakash_jain, dewei_zhu, slewis, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=225616 | ||||||||||||
Attachments: |
|
Description
Jonathan Bedard
2021-06-23 16:05:08 PDT
Created attachment 432101 [details]
Patch
Created attachment 432391 [details]
Patch
Comment on attachment 432391 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432391&action=review > Tools/Scripts/libraries/webkitcorepy/webkitcorepy/unittest.py:29 > +from unittest import TestCase whats the value in overriding the name? I think importing unitest and something like webkitunittest would be a lot clearer. (In reply to Stephanie Lewis from comment #4) > Comment on attachment 432391 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=432391&action=review > > > Tools/Scripts/libraries/webkitcorepy/webkitcorepy/unittest.py:29 > > +from unittest import TestCase > > whats the value in overriding the name? I think importing unitest and > something like webkitunittest would be a lot clearer. Mostly because then something importing it would be `from webkitcorepy.webkitunittest import <class>` which seemed redundant to me...would `from webkitcorepy.testing` be better? Created attachment 432407 [details]
Patch
Created attachment 432411 [details]
Patch for landing
Committed r279347 (239215@main): <https://commits.webkit.org/239215@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432411 [details]. |