Skip to content

Commit

Permalink
RTD integration
Browse files Browse the repository at this point in the history
  • Loading branch information
bubenkoff committed Sep 23, 2014
1 parent 9bde7fa commit 055fe56
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.rst
Expand Up @@ -2,11 +2,14 @@ Splinter plugin for the py.test runner
=========================================================

.. image:: https://api.travis-ci.org/paylogic/pytest-splinter.png
:target: https://travis-ci.org/paylogic/pytest-splinter
:target: https://travis-ci.org/paylogic/pytest-splinter
.. image:: https://pypip.in/v/pytest-splinter/badge.png
:target: https://crate.io/packages/pytest-splinter/
:target: https://crate.io/packages/pytest-splinter/
.. image:: https://coveralls.io/repos/paylogic/pytest-splinter/badge.png?branch=master
:target: https://coveralls.io/r/paylogic/pytest-splinter
:target: https://coveralls.io/r/paylogic/pytest-splinter
.. image:: https://readthedocs.org/projects/pytest-splinter/badge/?version=latest
:target: https://readthedocs.org/projects/pytest-splinter/?badge=latest
:alt: Documentation Status


Install pytest-splinter
Expand Down Expand Up @@ -162,10 +165,10 @@ You can have several browsers in one test.
import pytest
@pytest.fixture
@pytest.fixture
def admin_browser(browser_instance_getter):
return browser_instance_getter(admin_browser)
def test_with_several_browsers(browser, admin_browser):
browser.visit('http://example.com')
admin_browser.visit('about:blank')
Expand Down

0 comments on commit 055fe56

Please sign in to comment.