def get_suite():
    import somepackage.tests
    
    loader = unittest.TestLoader()
    suite = loader.loadTestsFromModule(somepackage.tests)
    return suite
Finds a free id, locks it and returns integer id, or -1 if none free.
dataset/ETHPy150Open ctb/SomePackage/somepackage/tests/__init__.py/get_suite--crossover with--dataset/ETHPy150Open nitishsrivastava/deepnet/cudamat/gpu_lock2.py/obtain_lock_id_to_hog