Adds coverage over drivers and db custom types
Adds more coverage tests for some portions of the driver logic and for the db custom types. I decided to abstain from implementing some of the optimized driver coverage tests at this time because the only thing one can test there is that python and sqlalchemy work correctly. Otherwise, they're just convenience mthods.
This commit is contained in:
		@@ -36,7 +36,7 @@ STRATEGY = network_strategy.STRATEGY
 | 
			
		||||
 | 
			
		||||
ipam_driver = (importutils.import_class(CONF.QUARK.ipam_driver))()
 | 
			
		||||
net_driver = (importutils.import_class(CONF.QUARK.net_driver))()
 | 
			
		||||
net_driver.load_config(CONF.QUARK.net_driver_cfg)
 | 
			
		||||
net_driver.load_config()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def _adapt_provider_nets(context, network):
 | 
			
		||||
 
 | 
			
		||||
@@ -31,7 +31,7 @@ LOG = logging.getLogger("neutron.quark")
 | 
			
		||||
 | 
			
		||||
ipam_driver = (importutils.import_class(CONF.QUARK.ipam_driver))()
 | 
			
		||||
net_driver = (importutils.import_class(CONF.QUARK.net_driver))()
 | 
			
		||||
net_driver.load_config(CONF.QUARK.net_driver_cfg)
 | 
			
		||||
net_driver.load_config()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def create_port(context, port):
 | 
			
		||||
 
 | 
			
		||||
@@ -31,7 +31,7 @@ DEFAULT_SG_UUID = "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
net_driver = (importutils.import_class(CONF.QUARK.net_driver))()
 | 
			
		||||
net_driver.load_config(CONF.QUARK.net_driver_cfg)
 | 
			
		||||
net_driver.load_config()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def _validate_security_group_rule(context, rule):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user