Paul Tremberth
02e1d2b1fd
Add trailing dot
2017-02-02 22:28:37 +01:00
Paul Tremberth
e604c0f3ab
Remove unused imports
2017-02-02 18:26:41 +01:00
Paul Tremberth
3358254c5c
Make DNS retry test compatible with Twisted 17+
2017-02-02 17:53:28 +01:00
Paul Tremberth
27456996a9
Add assertion on crawler not running
2016-11-08 11:46:16 +01:00
Paul Tremberth
61efacdd1f
Add testcase for catching exception from open_spider() from pipeline
2016-11-08 11:35:42 +01:00
Konstantin Lopuhin
0680950b98
py3: pass CrawlTestCase.test_referer_header, fixing Echo resource in mockserver and json decoding in test
2016-01-21 17:52:12 +03:00
Mikhail Korobov
a49c82ad62
TST improve CrawlerRunner tests
...
* use CrawlerRunner.create_crawler instead of get_crawler helper in test_crawl;
* add a test for loading spiders by name;
* add a test for passing Crawler objects instead of Spider objects;
* add a test for CrawlerRunner.join
2015-10-30 20:24:37 +05:00
Jakob de Maeyer
8307c1212f
Add ExecutionEngine.close() method
2015-10-29 10:03:29 +01:00
nyov
6e762ce25c
PY3 renames (six types)
2015-08-08 04:21:58 +05:00
Julia Medina
c2d716807a
Use LogCapture in testfixtures package for tests
...
This allows to remove `get_testlog` helper, `flushLoggedErrors` from
twisted.trial.unittest.TestCase and Twisted log observers created for
each test on conftest.py.
2015-04-22 17:24:40 -03:00
Berker Peksag
31e5f164d4
Import unittest.mock if available.
...
mock is in the stdlib since Python 3.3.
2015-03-08 15:03:04 +02:00
Julia Medina
870438e5f4
Update tests utils, fixing get_crawler and removing docrawl
2014-08-12 14:02:56 -03:00
Daniel Graña
242c08553f
move tests under root dir
2014-07-30 19:45:08 -03:00