mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
... this will allow linking to actual steps (referential integrity) if/when we store workflow requests in the database. Also unit tests.
20 lines
369 B
Python
20 lines
369 B
Python
from galaxy.util import bunch
|
|
from galaxy.model import mapping
|
|
|
|
|
|
class MockTrans( object ):
|
|
|
|
def __init__( self ):
|
|
self.app = TestApp()
|
|
|
|
|
|
class TestApp( object ):
|
|
|
|
def __init__( self ):
|
|
self.config = bunch.Bunch( )
|
|
self.model = mapping.init(
|
|
"/tmp",
|
|
"sqlite:///:memory:",
|
|
create_tables=True
|
|
)
|