~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/webservice/tests/test_json.py

  • Committer: Francis J. Lacoste
  • Date: 2011-07-14 21:49:37 UTC
  • mto: This revision was merged to the branch mainline in revision 13501.
  • Revision ID: francis.lacoste@canonical.com-20110714214937-redwzax7e3ti1wxe
Lint sucks, but hoover blows.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
            '2 days, 2:00:05',
24
24
            serializer.toDataForJSON('application/json'))
25
25
 
26
 
 
27
26
    def test_timedelta_users_StrJSONSerializer(self):
28
27
        delta = timedelta(seconds=5)
29
28
        serializer = IJSONPublishable(delta)
30
 
        self.assertEquals('0:00:05', 
 
29
        self.assertEquals('0:00:05',
31
30
            serializer.toDataForJSON('application/json'))
32
 
 
33