~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/server/tests/test_call.py

  • Committer: Alberto Donato
  • Date: 2013-08-14 10:05:52 UTC
  • Revision ID: alberto.donato@canonical.com-20130814100552-9x3nc2cu27t2o23w
Add a UnicodeLine parameter type (for a single line of text, no newlines). [trivial] [r=free.ekanayaka].

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
from txaws.server.call import Call
4
4
 
5
5
 
6
 
class CallTest(TestCase):
 
6
class CallTestCase(TestCase):
7
7
 
8
8
    def test_default_version(self):
9
9
        """
10
10
        If no version is explicitly requested, C{version} is set to
11
 
        2008-12-01, which is the earliest version we support.
 
11
        2009-11-30, which is the earliest version we support.
12
12
        """
13
13
        call = Call()
14
 
        self.assertEqual(call.version, "2008-12-01")
 
14
        self.assertEqual(call.version, "2012-08-15")