mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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
|
dist
|
||||||
output
|
output
|
||||||
tags
|
tags
|
||||||
.ropeproject
|
|
||||||
.tox
|
.tox
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
======================
|
======================
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue