Replace other occurrences of strip('public-') with
lstrip('public-')
	
	
This commit is contained in:
		
					parent
					
						
							
								c0c79ebf2b
							
						
					
				
			
			
				commit
				
					
						f866368e85
					
				
			
		
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -145,5 +145,5 @@ class VirtualMachineSerializerTestCase(TestCase): | |||
| 
 | ||||
|         for vm in self.manager.get_vms(): | ||||
|             serialized = VirtualMachineSerializer(vm) | ||||
|             self.assertEqual(serialized.data.get('name'), vm.name.strip('public-')) | ||||
|             self.assertEqual(serialized.data.get('name'), vm.name.lstrip('public-')) | ||||
|             break | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue