rename package in README

This commit is contained in:
Anatoly Bubenkov 2013-03-31 11:40:12 +03:00
parent 2156385964
commit 3013962227
1 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,10 @@ BDD library for the py.test runner
===================================
Install pytestbdd
Install pytest-bdd
=================
pip install pytestbdd
pip install pytest-bdd
Example
@ -24,7 +24,7 @@ publish_article.feature:
test_publish_article.py:
from pytestbdd import scenario, given, when, then
from pytest_bdd import scenario, given, when, then
test_publish = scenario('publish_article.feature', 'Publishing the article')
@ -51,4 +51,4 @@ test_publish_article.py:
@then('And the article should be published')
def article_is_published(article):
article.refresh() # Refresh the object in the SQLAlchemy session
assert article.is_published
assert article.is_published