~tribaal/txaws/xss-hardening

1
2
3
4
5
6
7
8
9
10
11
12
13
14
from twisted.trial.unittest import TestCase

from txaws.server.call import Call


class CallTestCase(TestCase):

    def test_default_version(self):
        """
        If no version is explicitly requested, C{version} is set to
        2009-11-30, which is the earliest version we support.
        """
        call = Call()
        self.assertEqual(call.version, "2009-11-30")