# Path: oaxmlapi/connections.py
# class Application(object):
# class Auth(_Base):
# class RemoteAuth(_Base):
# class Whoami(_Base):
# class Request(_Base):
# class Error(_Base):
#     def __init__(self, client, client_version, namespace, key):
#     def __str__(self):
#     def __init__(self, company, username, password):
#     def __str__(self):
#     def auth(self):
#     def _main(self):
#     def __init__(self, company, username, password):
#     def __str__(self):
#     def remoteauth(self):
#     def _main(self):
#     def __init__(self, datatype):
#     def __str__(self):
#     def datatype(self):
#     def datatype(self, d):
#     def whoami(self):
#     def _main(self):
#     def __init__(self, application, auth, xml_data):
#     def __str__(self):
#     def request(self):
#     def _main(self):
#     def __init__(self, application, code):
#     def __str__(self):
#     def error(self):
#     def _main(self):


import unittest
from oaxmlapi import connections
# -*- coding: utf-8
from __future__ import absolute_import


class TestApplicationClass(unittest.TestCase):

    def test_str(self):
        self.assertEqual(
            str(connections.Application('test', '1.0', 'default', 'abc123')),
            '<Application client=test version=1.0>'
        )

suite = unittest.TestLoader().loadTestsFromTestCase(TestApplicationClass)

# Path: oaxmlapi/connections.py
# class Application(object):
# class Auth(_Base):
# class RemoteAuth(_Base):
# class Whoami(_Base):
# class Request(_Base):
# class Error(_Base):
#     def __init__(self, client, client_version, namespace, key):
#     def __str__(self):
#     def __init__(self, company, username, password):
#     def __str__(self):
#     def auth(self):
#     def _main(self):
#     def __init__(self, company, username, password):
#     def __str__(self):
#     def remoteauth(self):
#     def _main(self):
#     def __init__(self, datatype):
#     def __str__(self):
#     def datatype(self):
#     def datatype(self, d):
#     def whoami(self):
#     def _main(self):
#     def __init__(self, application, auth, xml_data):
#     def __str__(self):
#     def request(self):
#     def _main(self):
#     def __init__(self, application, code):
#     def __str__(self):
#     def error(self):
#     def _main(self):


# Path: tests/connections/test_application.py
import unittest
from oaxmlapi import connections

# -*- coding: utf-8
from __future__ import absolute_import


class TestApplicationClass(unittest.TestCase):

    def test_str(self):
        self.assertEqual(
            str(connections.Application('test', '1.0', 'default', 'abc123')),
            '<Application client=test version=1.0>'
        )

suite = unittest.TestLoader().loadTestsFromTestCase(TestApplicationClass)

unittest.TextTestRunner(verbosity=2).run(suite)