forked from github/pelican
Added changes as per codereview.
This commit is contained in:
parent
52fb81a441
commit
67472298ca
4 changed files with 3 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,5 +8,4 @@ build
|
|||
dist
|
||||
output
|
||||
tags
|
||||
.ropeproject
|
||||
.tox
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ To create the virtualenv environment, you have to do::
|
|||
Then you would have to install all the dependencies::
|
||||
|
||||
$ pip install -r dev_requirements.txt
|
||||
$ pyhthon setup.py develop
|
||||
$ python setup.py develop
|
||||
|
||||
Running the test suite
|
||||
======================
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class Page(object):
|
|||
"""
|
||||
mandatory_properties = ('title',)
|
||||
|
||||
def __init__(self, content=None, metadata=None, settings=None,
|
||||
def __init__(self, content, metadata=None, settings=None,
|
||||
filename=None):
|
||||
# init parameters
|
||||
if not metadata:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class TestPage(TestCase):
|
|||
}
|
||||
|
||||
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.
|
||||
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue