Skip to content

Commit

Permalink
Refactor python test mn_options_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Oct 21, 2016
1 parent fff22cd commit 702f1a9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions py/test/selenium/webdriver/marionette/mn_options_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
from selenium.webdriver.firefox.firefox_profile import FirefoxProfile
from selenium.webdriver.firefox.options import Log, Options
from selenium.webdriver import Firefox


@pytest.fixture
def driver(capabilities):
driver = Firefox(firefox_options=Options(), capabilities=capabilities)
yield driver
driver.quit()
def driver_kwargs(driver_kwargs):
driver_kwargs['firefox_options'] = Options()
return driver_kwargs


class TestIntegration(object):
Expand Down

0 comments on commit 702f1a9

Please sign in to comment.