Tobias Gruetzmacher
7c3a87970b
Fix test naming.
2016-04-16 11:54:29 +02:00
Tobias Gruetzmacher
ee99c087d7
Remove prevUrlMatchesStripUrl.
...
It was only used for one test.
2016-04-16 01:14:26 +02:00
Tobias Gruetzmacher
060281e5ff
Use concrete scraper objects everywhere.
...
This is a first step for #42 . Since most access to the scraper classes
is through instances, modules can now dynamically override url and name
(name is now a property).
2016-04-13 22:17:30 +02:00
Tobias Gruetzmacher
1aebdce5d2
Fix test :)
2016-04-13 01:32:15 +02:00
Tobias Gruetzmacher
dda920f353
Use py.test's tmpdir fixture.
2016-03-28 16:29:57 +02:00
Tobias Gruetzmacher
36cc4e32f4
Allow selection of comics to test via environment.
...
If you need to run test cases for your new comic module, you can call
py.test like this:
TESTCOMICS="ComicFury/" py.test -v tests/test_comics.py
2016-03-13 13:03:41 +01:00
Tobias Gruetzmacher
2ca74d6e6b
Convert all tests to py.test & cleanups.
2016-03-07 01:08:57 +01:00
Tobias Gruetzmacher
41c03af3d9
Don't use SexyLosers for tests.
...
It's currently broken.
2016-03-04 00:28:05 +01:00
Tobias Gruetzmacher
f0e61a614f
Refactor comic module test.
...
All those create-classes-on-the-fly games make my head hurt ;)
2015-07-17 23:33:25 +02:00
Tobias Gruetzmacher
d88b97573d
Stable test order.
2015-07-16 01:32:24 +02:00
Tobias Gruetzmacher
ea4472cd7c
Test with comic that is still fetchable...
2015-07-16 00:53:10 +02:00
Tobias Gruetzmacher
ff21df596b
Remove descriptions and genres ( closes #9 ).
...
Maintaining the descriptions creates quite a bit of overhead (finding
them, copying them, checking if they are still correct) for a minimal
user benefit.
PS: Viewing this diff should be easier in a difftool that shows changes
in a line, for example kdiff3.
2015-04-20 20:29:09 +02:00
Tobias Gruetzmacher
89ada9de7e
Switch tests to a unique comic name.
2015-04-18 12:34:33 +02:00
Bastian Kleineidam
4d63920434
Updated copyright.
2014-01-05 16:50:57 +01:00
Bastian Kleineidam
365fd17802
Fix dosage tests
2014-01-05 14:26:46 +01:00
Bastian Kleineidam
1f38895681
Ensure only on instance of dosage is running to prevent accedental DoS on sites with multiple comics.
2014-01-05 10:36:22 +01:00
Bastian Kleineidam
ca23f7a4d7
Consider text files in result checks.
2013-12-05 18:29:15 +01:00
Bastian Kleineidam
0e780e9741
Fix random test case.
2013-11-08 18:40:55 +01:00
Bastian Kleineidam
e7436d7d79
Fix for python 3.3
2013-11-07 21:22:38 +01:00
Bastian Kleineidam
75bbf10d78
Initialize tmpdir.
2013-06-28 21:34:01 +02:00
Bastian Kleineidam
27c90f07a5
Fix tests with newer pytest versions.
2013-06-28 21:25:55 +02:00
Bastian Kleineidam
13963d8bfe
Improve comicname error message.
2013-05-22 22:29:29 +02:00
Bastian Kleineidam
80d7defcd2
Unicode descriptions.
2013-04-29 07:35:56 +02:00
Bastian Kleineidam
1d2dcd5a77
Test for URL in every scraper.
2013-04-26 06:53:14 +02:00
Bastian Kleineidam
4850626fc2
Remove unused file.
2013-04-14 09:01:50 +02:00
Bastian Kleineidam
975c7d825b
Add documentation.
2013-04-12 21:22:58 +02:00
Bastian Kleineidam
b9dc385ff2
Implemented voting
2013-04-09 19:33:50 +02:00
Bastian Kleineidam
4528281ddd
Voting part 2
2013-04-08 21:20:01 +02:00
Bastian Kleineidam
cdbeb65ede
Run tests more verbose.
2013-04-05 19:27:36 +02:00
Bastian Kleineidam
adb31d84af
Use HTMLParser.unescape instead of rolling our own function.
2013-04-05 18:53:19 +02:00
Bastian Kleineidam
4fddb39121
Improve comic strip and image checks.
2013-04-04 18:30:03 +02:00
Bastian Kleineidam
181a643f43
Remove deprecated mainline script.
2013-04-02 23:01:07 +02:00
Bastian Kleineidam
e09f1953eb
Run mainline tests on windows.
2013-03-29 10:37:09 +01:00
Bastian Kleineidam
be5da7c04b
Run mainline tests only on posix systems where symlinks work.
2013-03-26 21:12:02 +01:00
Bastian Kleineidam
849699b402
Add new TESTALL flag for long tests.
2013-03-26 17:27:34 +01:00
Bastian Kleineidam
bc6da81976
Only 1 test for travis.
2013-03-25 19:49:29 +01:00
Bastian Kleineidam
ea4a59318f
Fix comic test with zero strip images.
2013-03-19 20:45:45 +01:00
Bastian Kleineidam
421b036b4b
Limit travis tests some more.
2013-03-13 20:08:22 +01:00
Bastian Kleineidam
69ef34c4e2
Add tests for the old mainline script.
2013-03-12 21:07:32 +01:00
Bastian Kleineidam
dc2e3c807f
Fix exit code on errors.
2013-03-11 20:05:06 +01:00
Bastian Kleineidam
7ee73caf3c
Allow multiple event output and improve HTML output.
2013-03-11 17:33:59 +01:00
Bastian Kleineidam
1d7410c038
Added Zwarwald and AhoiPolloi
2013-03-07 23:51:55 +01:00
Bastian Kleineidam
7442bd6e77
Reduce travis tests some more.
2013-03-06 20:24:24 +01:00
Bastian Kleineidam
bae2a96d8b
Added some comic strips and cleanup the scraper code.
2013-03-06 20:00:30 +01:00
Bastian Kleineidam
c13aa323d8
Code cleanup [ci skip]
2013-03-04 21:44:26 +01:00
Bastian Kleineidam
95294d6979
Fix argument parsing of -l, --singlelist and --version.
2013-03-04 19:10:27 +01:00
Bastian Kleineidam
6081021a24
Fall back to non-locked tests on systems without interprocess locking permission (eg. Travis).
2013-03-01 07:27:41 +01:00
Bastian Kleineidam
ca65deb369
Limit connections to hosts for tests.
2013-02-28 21:08:43 +01:00
Bastian Kleineidam
c2a83fdec9
Reduce Travis test runs.
2013-02-27 21:21:12 +01:00
Bastian Kleineidam
c15740bf0c
Go, Travis, Go
2013-02-27 20:17:29 +01:00