~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to tests/regressiontests/text/tests.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-05-21 07:52:55 UTC
  • mfrom: (1.3.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20100521075255-ii78v1dyfmyu3uzx
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
[u'url', u'search_page', u'words=hello']
28
28
>>> list(smart_split(u'url search_page words="something else'))
29
29
[u'url', u'search_page', u'words="something', u'else']
 
30
>>> list(smart_split("cut:','|cut:' '"))
 
31
[u"cut:','|cut:' '"]
30
32
 
31
33
### urlquote #############################################################
32
34
>>> from django.utils.http import urlquote, urlquote_plus