Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tests location #500

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -6,7 +6,7 @@ install:
- pip install nose unittest2 mock --use-mirrors
- pip install . --use-mirrors
- pip install Markdown
script: nosetests -s tests
script: nosetests -s pelican
notifications:
irc:
channels:
Expand Down
5 changes: 3 additions & 2 deletions MANIFEST.in
Expand Up @@ -2,5 +2,6 @@ include *.rst
global-include *.py
recursive-include pelican *.html *.css *png *.in
include LICENSE THANKS
recursive-include tests *
recursive-exclude tests *.pyc
recursive-include pelican/tests *
recursive-exclude pelican/tests *.pyc
recursive-include samples *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion tests/test_pelican.py → pelican/tests/test_pelican.py
Expand Up @@ -15,7 +15,8 @@
from pelican.settings import read_settings

CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
SAMPLES_PATH = os.path.abspath(os.sep.join((CURRENT_DIR, "..", "samples")))
SAMPLES_PATH = os.path.abspath(os.sep.join((CURRENT_DIR, "..", "..",
"samples")))
OUTPUT_PATH = os.path.abspath(os.sep.join((CURRENT_DIR, "output")))

INPUT_PATH = os.path.join(SAMPLES_PATH, "content")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -41,5 +41,5 @@
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
test_suite='tests',
test_suite='pelican.tests',
)
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -2,7 +2,7 @@
envlist = py26,py27

[testenv]
commands = nosetests -s tests
commands = nosetests -s pelican
deps =
nose
Jinja2
Expand Down