import os.path
import unittest


def get_tests():
    start_dir = os.path.dirname(__file__)
    return unittest.TestLoader().discover(start_dir, pattern="*.py")

import os.path
import unittest


def get_tests():
    return full_suite()

def full_suite():
    from .resource import ResourceTestCase
    from .serializer import ResourceTestCase as SerializerTestCase
    from .utils import UtilsTestCase

    resourcesuite = unittest.TestLoader().loadTestsFromTestCase(ResourceTestCase)
    serializersuite = unittest.TestLoader().loadTestsFromTestCase(SerializerTestCase)
    utilssuite = unittest.TestLoader().loadTestsFromTestCase(UtilsTestCase)

    return unittest.TestSuite([resourcesuite, serializersuite, utilssuite])


Update get_tests to be backwards compatible with Python 2.6, since the library is compatible it seems worth this extra effort to test against it.
Update get_tests to be backwards compatible with Python 2.6, since the library is compatible it seems worth this extra effort to test against it.
