mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Update testing for ignore macOS directory services file
This commit is contained in:
		
							parent
							
								
									22bb28db62
								
							
						
					
					
						commit
						d1984c0dda
					
				@ -271,25 +271,11 @@ class TestConsumer(DirectoriesMixin, ConsumerThreadMixin, TransactionTestCase):
 | 
				
			|||||||
                "ignore": False,
 | 
					                "ignore": False,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "path": os.path.join(self.dirs.consumption_dir, ".DS_STORE", "foo.pdf"),
 | 
					                "path": os.path.join(self.dirs.consumption_dir, ".DS_STORE"),
 | 
				
			||||||
                "ignore": True,
 | 
					                "ignore": True,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "path": os.path.join(
 | 
					                "path": os.path.join(self.dirs.consumption_dir, ".DS_Store"),
 | 
				
			||||||
                    self.dirs.consumption_dir,
 | 
					 | 
				
			||||||
                    "foo",
 | 
					 | 
				
			||||||
                    ".DS_STORE",
 | 
					 | 
				
			||||||
                    "bar.pdf",
 | 
					 | 
				
			||||||
                ),
 | 
					 | 
				
			||||||
                "ignore": True,
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                "path": os.path.join(
 | 
					 | 
				
			||||||
                    self.dirs.consumption_dir,
 | 
					 | 
				
			||||||
                    ".DS_STORE",
 | 
					 | 
				
			||||||
                    "foo",
 | 
					 | 
				
			||||||
                    "bar.pdf",
 | 
					 | 
				
			||||||
                ),
 | 
					 | 
				
			||||||
                "ignore": True,
 | 
					                "ignore": True,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user