# Path: crabpy/wsa.py
# class Action(Object):
# class MessageID(Object):
# class To(Object):
#     def __init__(self, action):
#     def xml(self):
#     def xml(self):
#     def __init__(self, location):
#     def xml(self):


import unittest
from suds.sax.element import Element
from crabpy.wsa import wsa
        from crabpy.wsa import Action
        from crabpy.wsa import To
        from crabpy.wsa import MessageID




class ElementTests(unittest.TestCase):

    def testAction(self):
        a = Action('http://soap.test.org/test')
        act = Element('Action', ns=wsa)
        act.setText('http://soap.test.org/test')
        self.assertEqual(act, a.xml())

    def testTo(self):
        t = To('http://ws.agiv.be/capakeyws/nodataset.asmx')

# Path: crabpy/wsa.py
# class Action(Object):
# class MessageID(Object):
# class To(Object):
#     def __init__(self, action):
#     def xml(self):
#     def xml(self):
#     def __init__(self, location):
#     def xml(self):


# Path: tests/test_wsa.py
import unittest
from suds.sax.element import Element
from crabpy.wsa import wsa
        from crabpy.wsa import Action
        from crabpy.wsa import To
        from crabpy.wsa import MessageID





class ElementTests(unittest.TestCase):

    def testAction(self):
        a = Action('http://soap.test.org/test')
        act = Element('Action', ns=wsa)
        act.setText('http://soap.test.org/test')
        self.assertEqual(act, a.xml())

    def testTo(self):
        t = To('http://ws.agiv.be/capakeyws/nodataset.asmx')

        to = Element('To', ns=wsa)