Last active
December 19, 2015 01:19
-
-
Save andreastt/5875264 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nosetest -s --processes=3 parallel.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
class TestKlass(object): | |
_multiprocess_can_split_ = True | |
@classmethod | |
def setup_class(self): | |
self.driver = webdriver.Firefox() | |
@classmethod | |
def teardown_class(self): | |
self.driver.quit() | |
def test_one(self): | |
print(self) | |
self.driver.get("http://ulv.no") | |
def test_two(self): | |
self.driver.get("http://elg.no") | |
def test_three(self): | |
self.driver.get("http://sau.no") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment