Fix outstanding pep8 errors for a clean trunk.
Also, add an option to run_tests.sh to skip running pep8. We have a separate job in Jenkins which runs pep8, so there's no need to spin our wheels on it during the test run. Change-Id: I552330994e55a36fa96b63658493ed30e2720c85
This commit is contained in:
		
				
					committed by
					
						
						Brian Waldon
					
				
			
			
				
	
			
			
			
						parent
						
							ddc120f815
						
					
				
				
					commit
					569ce59ac7
				
			@@ -159,14 +159,14 @@ class LibvirtConnTestCase(test.TestCase):
 | 
				
			|||||||
        self.flags(instances_path='')
 | 
					        self.flags(instances_path='')
 | 
				
			||||||
        self.call_libvirt_dependant_setup = False
 | 
					        self.call_libvirt_dependant_setup = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    test_instance = {'memory_kb':     '1024000',
 | 
					    test_instance = {'memory_kb': '1024000',
 | 
				
			||||||
                     'basepath':      '/some/path',
 | 
					                     'basepath': '/some/path',
 | 
				
			||||||
                     'bridge_name':   'br100',
 | 
					                     'bridge_name': 'br100',
 | 
				
			||||||
                     'vcpus':         2,
 | 
					                     'vcpus': 2,
 | 
				
			||||||
                     'project_id':    'fake',
 | 
					                     'project_id': 'fake',
 | 
				
			||||||
                     'bridge':        'br101',
 | 
					                     'bridge': 'br101',
 | 
				
			||||||
                     'image_ref':     '123456',
 | 
					                     'image_ref': '123456',
 | 
				
			||||||
                     'local_gb':      20,
 | 
					                     'local_gb': 20,
 | 
				
			||||||
                     'instance_type_id': '5'}  # m1.small
 | 
					                     'instance_type_id': '5'}  # m1.small
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def lazy_load_library_exists(self):
 | 
					    def lazy_load_library_exists(self):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user