Skip to content

Commit

Permalink
Fix string formatting in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Aug 10, 2015
1 parent ba82333 commit 394000c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Here's the earlier example with the addition of ``base_url``:
.. code-block:: python
def test_example(base_url, selenium):
selenium.get('%{0}'.format(base_url))
selenium.get('{0}'.format(base_url))
The associated command line would be:

Expand All @@ -68,7 +68,7 @@ application and ``live_server.url`` returns the base URL of the site.
return live_server.url
def test_search(base_url, selenium):
selenium.get('%{0}/search'.format(base_url))
selenium.get('{0}/search'.format(base_url))
Available Live Servers
~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 394000c

Please sign in to comment.