scrapy/scrapy/tests
Pablo Hoffman e3fe0ef297 Some changes to newitem API and implementation:
- Dropped support for wildcard importing from newitem package (must now import
  from newitem.fields and don't use wildcard)
- Removed assign() method from Fields as it was apparently redundant (with
  to_python() method) and I couldn't find any reason for keeping it (neither in
  the docs nor in the tests)
- Moved deiter() method of Field to StringField, as its both its purpose and
  implementation was specific for strings. if it's really needed as a general
  purpose method, it could be restored. Also, no unittest was broken because of
  this change, which sort-of reinforces my point.
- Renamed (previously mentioned) StringField.deiter() method to
  StringField.to_single(), for better consistency with to_python() method
- Removed Field class as it was useless without the deiter() functionality (now
  belonging to StringField class)
- Moved ansi_date_re module variable to DateField class attribute
- Simplified implementation of DecimalField, FloatField and IntegerField to one
  line of code (using tests to make sure not to break any functionality)
- Renamed ItemMeta class (in models.py) to _ItemMeta to highlight its protected
  state (should not be externally imported)
- Added support for instantiating new items with dicts, to support
  deserializing items with their repr() string
- Added unittests for new functionality introduced
2009-07-11 22:19:56 -03:00
..
sample_data Sorted out Link Extractors organization by moving all them to 2009-05-18 19:19:37 -03:00
test_spiders Sorted out Link Extractors organization by moving all them to 2009-05-18 19:19:37 -03:00
__init__.py sorted out running of unittests: 2009-05-16 20:11:23 -03:00
test_adaptors.py sorted out some tests sample data paths and fixed bug with test in windows 2009-05-15 15:03:42 -03:00
test_aws.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_c14nurls.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_contrib_linkextractors.py Sorted out Link Extractors organization by moving all them to 2009-05-18 19:19:37 -03:00
test_contrib_response_soup.py remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
test_dependencies.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_downloadermiddleware_cookies.py stop raising HttpException at download handlers and adapt download middlewares 2009-05-27 16:51:36 -03:00
test_downloadermiddleware_decompression.py sorted out some tests sample data paths and fixed bug with test in windows 2009-05-15 15:03:42 -03:00
test_downloadermiddleware_httpcompression.py sorted out some tests sample data paths and fixed bug with test in windows 2009-05-15 15:03:42 -03:00
test_downloadermiddleware_redirect.py core: Invert request priority meaning, a higher request.priority value means more priority 2009-06-20 19:23:26 -03:00
test_downloadermiddleware_retry.py core: Invert request priority meaning, a higher request.priority value means more priority 2009-06-20 19:23:26 -03:00
test_downloadermiddleware_useragent.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_dupefilter.py Sorted out Duplicate Filter API. 2009-06-20 20:29:07 -03:00
test_engine.py remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
test_http_cookies.py removed wtf line 2009-07-08 18:19:54 -03:00
test_http_headers.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_http_request.py fixed bug with FormRequest class which wasn't setting method=POST by default 2009-05-07 00:36:39 -03:00
test_http_response.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_http_url.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_item.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_itemadaptor.py Some changes to newitem API and implementation: 2009-07-11 22:19:56 -03:00
test_libxml2.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_newitem.py Some changes to newitem API and implementation: 2009-07-11 22:19:56 -03:00
test_pipeline_images.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_responsetypes.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_robustscrapeditem.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_schedulermiddleware_duplicatesfilter.py Multiples changes to core scheduling and duplicates filtering 2009-06-20 18:15:02 -03:00
test_serialization.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_spidermonkey.py remove xlib hack that appends scrapy/xlib to sys.path 2009-07-09 14:37:59 -03:00
test_stats.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_storedb.py applied Patrick patch: test_storedb: add base class for both mysql tests 2009-05-23 18:31:54 -03:00
test_utils_datatypes.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_utils_defer.py remove obsolete deferred_imap util, use coiterate+imap instead 2009-06-23 14:45:16 -07:00
test_utils_iterators.py sorted out some tests sample data paths and fixed bug with test in windows 2009-05-15 15:03:42 -03:00
test_utils_markup.py renamed remove_escape_chars to replace_escape_chars (adaptor and function), added more tests to replace_escape_chars, keeping backwards compatibility 2009-05-07 16:33:06 -03:00
test_utils_middleware.py improved configuration of middlewares using dicts and orders (closes #85) 2009-05-11 01:40:40 -03:00
test_utils_misc.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_utils_python.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_utils_request.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_utils_response.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_utils_url.py improved usage of urljoin_rfc function, adding unittests and encoding where needed 2009-07-09 18:45:40 -03:00
test_webclient.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00
test_xpath.py improved invalid xpath exception message in xpath selectors, and added unittests 2009-07-11 17:19:20 -03:00
test_xpath_extension.py mv scrapy/trunk to root as part of svn2hg migration 2009-05-06 15:55:17 -03:00