Changeset 213:7b89b9208b88 for wokkel


Ignore:
Timestamp:
Oct 3, 2016, 10:13:49 AM (4 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Add tests for formats, fix py3 incompatibility.

Location:
wokkel
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/formats.py

    r209 r213  
     1# -*- test-case-name: wokkel.test.test_formats -*-
     2#
    13# Copyright (c) Ralph Meijer.
    24# See LICENSE for details.
    35
     6"""
     7Generic payload formats.
     8"""
     9
    410from __future__ import division, absolute_import
     11
     12from twisted.python.compat import unicode
    513
    614NS_MOOD = 'http://jabber.org/protocol/mood'
     
    2230        self.value = value
    2331        self.text = text
     32
    2433
    2534    def fromXml(self, element):
     
    5766
    5867    fromXml = classmethod(fromXml)
     68
     69
    5970
    6071class Tune:
Note: See TracChangeset for help on using the changeset viewer.