Commit graph

51 commits

Author SHA1 Message Date
Alexis Metaireau
be01e9f3a1 Skip functional tests for now 2012-04-01 13:50:03 +02:00
Alexis Metaireau
af2b588ea6 Merge pull request #289 from bbinet/fix_index_template
Fix index.html template
2012-03-31 18:08:30 -07:00
Alexis Metaireau
3e288b9a0f Merge pull request #288 from bbinet/functionnal-test
Functionnal test
2012-03-31 18:04:42 -07:00
Alexis Metaireau
3cabdb2dbf Merge pull request #285 from yumike/summary_markup
Fix markup for single-paragraph summary in reST metadata
2012-03-31 18:03:26 -07:00
Alexis Metaireau
d3fc327bc9 Merge pull request #282 from draftcode/float_precision
Fix #276 #269.
2012-03-31 18:01:04 -07:00
Bruno Binet
abadedffec update output for functionnal testing 2012-03-30 14:23:12 +02:00
Bruno Binet
2f1f6b5b43 test that the output of the samples pelican project is correct
(functionnal testing)
2012-03-30 13:46:33 +02:00
Bruno Binet
5ac3fdec50 add output files for "samples" so that we can make functionnal testing 2012-03-30 13:42:11 +02:00
Bruno Binet
ed58799f13 don't override globals settings 2012-03-30 13:33:07 +02:00
Mike Yumatov
4df6179954 Fix markup for single-paragraph summary in reST metadata 2012-03-25 21:39:41 +04:00
draftcode
9df2e79fb9 Fix #276 #269. 2012-03-24 14:36:47 +09:00
draftcode
cffb44891a Add an test related to articles' category. 2012-03-24 13:52:03 +09:00
Alexis Metaireau
0d9298313f Merge pull request #276 from AndreaCrotti/float_precision
on my machine leaving the places to 2 or 1 makes this test fail, I
2012-03-23 07:37:09 -07:00
Justin Mayer
65b93dbfd4 Remove trailing slash from SITEURL if present 2012-03-23 07:16:23 -07:00
Andrea Crotti
dbc4d4786b on my machine leaving the places to 2 or 1 makes this test fail, I
suppose because it's too fast, while changing it to 0 makes it pass.
2012-03-22 16:30:26 +00:00
Justin Mayer
6e467172e5 Merge branch 'master' into feeddomain
Conflicts:
	pelican/settings.py
	tests/test_settings.py
2012-03-22 08:29:27 -07:00
Justin Mayer
1623394da8 Add tests for pull request #262 2012-03-22 07:58:04 -07:00
Andrea Crotti
ff5921a469 - move the try/except dance in support.py
- use relative . imports in test files
- remove the "future with import", since python < 2.6 is not supported
2012-03-18 21:08:43 +00:00
Alexis Metaireau
9c4b40fd35 Keep raw metadata text (but for summary) 2012-03-18 15:12:06 +01:00
Alexis Metaireau
4714276e2c Merge pull request #247 from saimn/summary
Summary - Fix for #245
2012-03-15 14:15:01 -07:00
Simon
39bdbcfd86 files_changed: cleanup and add a test 2012-03-14 12:36:55 +01:00
Simon
c441855522 add a test for the summary metadata 2012-03-13 21:52:56 +01:00
Alexis Metaireau
71a5ba3283 Merge pull request #241 from draftcode/metadata_lowercase
Make names of metadata lower.
2012-03-12 04:15:34 -07:00
draftcode
a4ce10d88e Add a test for readers. 2012-03-12 02:24:26 +09:00
Alexis Metaireau
3cb18303f6 fix python 2.6 support 2012-03-11 17:26:59 +01:00
Alexis Metaireau
48b318d29e skip typogrify if not installed 2012-03-11 17:05:46 +01:00
Alexis Metaireau
32355f5463 add some more tests for the utils module 2012-03-11 15:51:48 +01:00
Alexis Metaireau
3c983d62c9 change the tests to use the mock library instead of a custom mocking system 2012-03-11 11:25:30 +01:00
Alexis Metaireau
78091bfa80 Merge pull request #238 from draftcode/feed_issue
Do not create feeds when their filenames are set to None.
2012-03-11 01:46:58 -08:00
Alexis Metaireau
189da25c5b Merge branch 'master' of github.com:ametaireau/pelican 2012-03-11 02:50:37 +01:00
Alexis Metaireau
d43bd1dcb8 Add a way to use Typogrify to enhance the generated HTML. 2012-03-11 02:48:36 +01:00
Alexis Metaireau
fbf89687cc start functional testing 2012-03-11 01:59:58 +01:00
Alexis Metaireau
1ec2779f5e Make the readers tests a bit more verbose. 2012-03-11 01:16:02 +01:00
draftcode
1194764ed1 Do not create feeds when their filenames are set to None. 2012-03-11 01:30:45 +09:00
draftcode
1c2f631723 Avoid #226. 2012-03-10 21:25:11 +09:00
Alexis Metaireau
a7cea63db6 Merge branch 'urls' of https://github.com/kylef/pelican 2012-03-09 11:42:21 +01:00
Meir Kriheli
dd07ddb0b0 Make sure test passes for dates formatted as utf-8 2012-03-09 02:03:15 +02:00
Bruno Binet
8f8933d991 fix test test_save_as
ERROR: test_save_as (tests.test_contents.TestPage)
If a lang is not the default lang, save_as should be set
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/bruno/dev/pelican/tests/test_contents.py", line 63, in test_save_as
    page.save_as = 'foo-bar.html'
AttributeError: can't set attribute
2012-03-06 16:41:36 +00:00
Bruno Binet
c2b8caed3f fix test test_article_with_metadata
error was:
ERROR: test_article_with_metadata (tests.test_readers.RstReaderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/bruno/dev/pelican/tests/test_readers.py", line 22, in test_article_with_metadata
    reader = readers.RstReader()
TypeError: __init__() takes exactly 2 arguments (1 given)
2012-03-06 16:41:36 +00:00
Stéphane Raimbault
9cced6be83 Sort imports and remove trailing whitespaces 2012-02-28 17:40:13 +01:00
Stéphane Raimbault
821fa5460b Removed execution mode of default_conf.py 2012-02-28 17:37:17 +01:00
Alexis Metaireau
02b9b964b8 restore the use of python rather than pypy in the batfiles (windows) 2012-02-27 21:06:33 +01:00
Jiachen Yang
76ee6c2149 Added document and test case for #215 2012-02-28 03:08:39 +09:00
Jiachen Yang
189d72e989 Merge remote-tracking branch 'ametaireau/master' into localedate 2012-02-28 01:43:50 +09:00
Jiachen Yang
e78372f338 import unittest if cannot found unittest2 2012-02-28 01:43:36 +09:00
Martin Brochhaus
67472298ca Added changes as per codereview. 2012-02-20 17:58:23 +01:00
Martin Brochhaus
52fb81a441 Added some fixes to the test suite so that it doesn't fail any more. 2012-02-20 17:39:47 +01:00
Mario Rodas
77aac049fd improved test_setting.py 2011-07-02 23:47:22 -05:00
Mario Rodas
d19b0c975b test works with python2.5 2011-07-02 15:53:27 -05:00
Mario Rodas
dc6934be43 all test pass 2011-07-02 15:15:21 -05:00