https://github.com/afgane/bioblend
Tip revision: f041b823cff00b80918f66f68fe5e8ab03c16d32 authored by Enis Afgan on 14 September 2015, 14:20:32 UTC
Add more method implementations for openstack; abstract some common methods into the interface class
Add more method implementations for openstack; abstract some common methods into the interface class
Tip revision: f041b82
my_unittest2.py
import os
import sys
from unittest2.loader import defaultTestLoader
def collector():
# import __main__ triggers code re-execution
__main__ = sys.modules['__main__']
setupDir = os.path.abspath(os.path.dirname(__main__.__file__))
return defaultTestLoader.discover(setupDir + '/tests', pattern='Test*.py')