# Path: pypet/tests/testutils/ioutils.py
# def discover_tests(predicate=None):
#     """Builds a LambdaTestLoader and discovers tests according to `predicate`."""
#     loader = LambdaTestDiscoverer(predicate)
#     start_dir = os.path.dirname(os.path.abspath(__file__))
#     start_dir = os.path.abspath(os.path.join(start_dir, '..'))
#     suite = loader.discover(start_dir=start_dir, pattern='*test.py')
#     return suite
# 
# TEST_IMPORT_ERROR = 'ModuleImportFailure'


import getopt
import sys
import os
import sys
import unittest
from pypet.tests.testutils.ioutils import discover_tests, TEST_IMPORT_ERROR
__author__ = 'Robert Meyer'



class NoseTestDummy(unittest.TestCase):
    pass

suite = discover_tests(predicate= lambda class_name, test_name, tags:

# Path: pypet/tests/testutils/ioutils.py
# def discover_tests(predicate=None):
#     """Builds a LambdaTestLoader and discovers tests according to `predicate`."""
#     loader = LambdaTestDiscoverer(predicate)
#     start_dir = os.path.dirname(os.path.abspath(__file__))
#     start_dir = os.path.abspath(os.path.join(start_dir, '..'))
#     suite = loader.discover(start_dir=start_dir, pattern='*test.py')
#     return suite
# 
# TEST_IMPORT_ERROR = 'ModuleImportFailure'


# Path: pypet/tests/test_all_nose.py
import getopt
import sys
import os
import sys
import unittest
from pypet.tests.testutils.ioutils import discover_tests, TEST_IMPORT_ERROR

__author__ = 'Robert Meyer'



class NoseTestDummy(unittest.TestCase):
    pass

suite = discover_tests(predicate= lambda class_name, test_name, tags:

                                                class_name != TEST_IMPORT_ERROR)