# Path: wokkel/formats.py
# NS_MOOD = 'http://jabber.org/protocol/mood'
# NS_TUNE = 'http://jabber.org/protocol/tune'
# class Mood:
# class Tune:
#     def __init__(self, value, text=None):
#     def fromXml(self, element):
#     def fromXml(self, element):


from twisted.trial import unittest
from twisted.words.xish import domish
from wokkel import formats
# Copyright (c) Ralph Meijer.
# See LICENSE for details.

"""
Tests for L{wokkel.format}
"""

from __future__ import division, absolute_import



class MoodTests(unittest.TestCase):
    """
    Tests for L{formats.Mood}.
    """

    def test_fromXml(self):
        """
        Moods are parsed from Elements.
        """

# Path: wokkel/formats.py
# NS_MOOD = 'http://jabber.org/protocol/mood'
# NS_TUNE = 'http://jabber.org/protocol/tune'
# class Mood:
# class Tune:
#     def __init__(self, value, text=None):
#     def fromXml(self, element):
#     def fromXml(self, element):


# Path: wokkel/test/test_formats.py
from twisted.trial import unittest
from twisted.words.xish import domish
from wokkel import formats

# Copyright (c) Ralph Meijer.
# See LICENSE for details.

"""
Tests for L{wokkel.format}
"""

from __future__ import division, absolute_import



class MoodTests(unittest.TestCase):
    """
    Tests for L{formats.Mood}.
    """

    def test_fromXml(self):
        """
        Moods are parsed from Elements.
        """

        element = domish.Element((formats.NS_MOOD, u'mood'))