Commit graph

21 commits

Author SHA1 Message Date
W. Trevor King
4fcdaa91e9 tests/support: Factor LogCountHandler testing out into LoggedTestCase
To avoid duplicating boilerplate when we need to test logged messages
outside of TestPelican.
2013-01-18 08:48:26 -05:00
W. Trevor King
54a9132aea tests: Update tests after filename/filepath -> source_path 2013-01-18 08:07:49 -05:00
Alexis Métaireau
e11d8aedff Merge branch 'master' into py3k 2013-01-11 21:24:47 +01:00
Alexis Métaireau
d7caaded3f Use the en-us locale for functional tests 2013-01-11 21:24:04 +01:00
Dirk Makowski
71995d5e1b Port pelican to python 3.
Stays compatible with 2.x series, thanks to an unified codebase.
2013-01-11 03:20:09 +01:00
Bruno Binet
a0504aeabe add support for relative cross-site links 2012-12-01 21:32:02 +01:00
Bruno Binet
a6dd3178b1 test that 4 occurences of log "skipping url replacement" are found 2012-12-01 21:32:02 +01:00
Bruno Binet
080c884c1a restore test_basic_generation_works functional test 2012-11-28 00:29:51 +01:00
Bruno Binet
df66579fc2 directory comparison should be recursive in functional tests 2012-11-07 00:01:59 +01:00
Bruno Binet
4029f2ec82 refactoring so that command line options override settings
and Pelican class now accepts a single parameter ``settings``
2012-10-16 01:35:39 +02:00
Alexis Metaireau
bba3caa697 avoid repeatition in the functional tests 2012-08-27 22:17:11 +02:00
Bruno Binet
7abb2a7a7c temporary skip failing test_basic_generation_works functional test 2012-07-05 00:12:10 +02:00
Bruno Binet
ef77847762 force locale to ascii in functional tests 2012-05-19 23:44:37 +02:00
Bruno Binet
e82c6512b4 clean up temporary dirs in tearDown to force cleanup even if tests fail 2012-05-12 02:03:18 +02:00
Bruno Binet
a8983b420f be more verbose when functional tests fail 2012-05-12 01:30:09 +02:00
Bruno Binet
c430ab57ba mock getenv to always return the same value for $USER 2012-04-04 22:54:28 +02:00
Bruno Binet
f903aaa1a4 remove unittest.skip statements for functional tests 2012-04-04 22:43:37 +02:00
Alexis Metaireau
be01e9f3a1 Skip functional tests for now 2012-04-01 13:50:03 +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
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
fbf89687cc start functional testing 2012-03-11 01:59:58 +01:00