Skip to content

Instantly share code, notes, and snippets.

@jdm
Created July 5, 2016 17:29
Show Gist options
  • Select an option

  • Save jdm/9dd6bbbc5c1a3d015a485914c67c6ff9 to your computer and use it in GitHub Desktop.

Select an option

Save jdm/9dd6bbbc5c1a3d015a485914c67c6ff9 to your computer and use it in GitHub Desktop.
diff --git a/tests/wpt/harness/wptrunner/executors/pytestrunner/fixtures.py b/tests/wpt/harness/wptrunner/executors/pytestrunner/fixtures.py
index bfda02a..046ab14 100644
--- a/tests/wpt/harness/wptrunner/executors/pytestrunner/fixtures.py
+++ b/tests/wpt/harness/wptrunner/executors/pytestrunner/fixtures.py
@@ -4,6 +4,10 @@
import pytest
-import webdriver
[email protected]
+def webdriver():
+ import webdriver
+ return webdriver
"""pytest fixtures for use in Python-based WPT tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment