bootstrap-vz/tests/integration/images/__init__.py
Anders Ingemann f1bfee24a0 Prepare integration testing framework to work with providers other than virtualbox
Also, convert with context handlers in classes to functions with generators
This makes the code a lot more readable
2015-04-16 22:21:45 +02:00

6 lines
196 B
Python

def initialize_image(manifest, build_server, bootstrap_info):
if manifest.provider['name'] == 'virtualbox':
import vbox
return vbox.initialize_image(manifest, build_server, bootstrap_info)