|  | @@ -2773,13 +2773,10 @@ class CLITestCase(DockerClientTestCase):
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      def test_images_use_service_tag(self):
 | 
	
		
			
				|  |  |          pull_busybox(self.client)
 | 
	
		
			
				|  |  | -        self.base_dir = 'tests/fixtures/images-service-tag/dev'
 | 
	
		
			
				|  |  | -        self.dispatch(['build'])
 | 
	
		
			
				|  |  | -        self.base_dir = 'tests/fixtures/images-service-tag/prod'
 | 
	
		
			
				|  |  | -        self.dispatch(['build'])
 | 
	
		
			
				|  |  |          self.base_dir = 'tests/fixtures/images-service-tag'
 | 
	
		
			
				|  |  | -        self.dispatch(['up', '-d'])
 | 
	
		
			
				|  |  | +        self.dispatch(['up', '-d', '--build'])
 | 
	
		
			
				|  |  |          result = self.dispatch(['images'])
 | 
	
		
			
				|  |  | -        self.dispatch(['down'])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        assert 'dev' in result.stdout
 | 
	
		
			
				|  |  | +        assert re.search(r'foo1.+test[ \t]+dev', result.stdout) is not None
 | 
	
		
			
				|  |  | +        assert re.search(r'foo2.+test[ \t]+prod', result.stdout) is not None
 | 
	
		
			
				|  |  | +        assert re.search(r'foo3.+_foo3[ \t]+latest', result.stdout) is not None
 |