def test_no_module(self): test_dir = os.path.dirname( __file__ ) loader = pygrate.loader.PygrationLoader( test_dir, 'vasdf' ) try: loader.load() except: # this should assert an exception was thrown somehow pass else: failure( "no exception" ) loader.pygrations()
def test_bad_type(self): test_dir = os.path.dirname( __file__ ) loader = pygrate.loader.PygrationLoader( test_dir, 'v0-7' ) loader.load() loader.pygrations()