mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision d04a8fc02b85bd32799691759c8c05ead07cd939
This commit is contained in:
parent
e8fdc677f4
commit
2b35c55ac7
63 changed files with 2068 additions and 340 deletions
|
@ -24,8 +24,8 @@ def pytest_configure(config):
|
|||
config.driver = webdriver.Firefox(firefox_binary=config.getoption("--binary"))
|
||||
config.server = WPTServer(WPT_ROOT)
|
||||
config.server.start()
|
||||
config.add_cleanup(lambda: config.server.stop())
|
||||
config.add_cleanup(lambda: config.driver.quit())
|
||||
config.add_cleanup(config.server.stop)
|
||||
config.add_cleanup(config.driver.quit)
|
||||
|
||||
class HTMLItem(pytest.Item, pytest.Collector):
|
||||
def __init__(self, filename, parent):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue