Added changes as per codereview.

This commit is contained in:
Martin Brochhaus 2012-02-20 17:58:23 +01:00
commit 67472298ca
4 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View file

@ -8,5 +8,4 @@ build
dist dist
output output
tags tags
.ropeproject
.tox .tox

View file

@ -25,7 +25,7 @@ To create the virtualenv environment, you have to do::
Then you would have to install all the dependencies:: Then you would have to install all the dependencies::
$ pip install -r dev_requirements.txt $ pip install -r dev_requirements.txt
$ pyhthon setup.py develop $ python setup.py develop
Running the test suite Running the test suite
====================== ======================

View file

@ -14,7 +14,7 @@ class Page(object):
""" """
mandatory_properties = ('title',) mandatory_properties = ('title',)
def __init__(self, content=None, metadata=None, settings=None, def __init__(self, content, metadata=None, settings=None,
filename=None): filename=None):
# init parameters # init parameters
if not metadata: if not metadata:

View file

@ -17,7 +17,7 @@ class TestPage(TestCase):
} }
def test_use_args(self): def test_use_args(self):
"""Creating a page with arguments passed to the connstructor should use """Creating a page with arguments passed to the constructor should use
them to initialise object's attributes. them to initialise object's attributes.
""" """