mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Clean up test formatting a bit
This commit is contained in:
		
							parent
							
								
									4ed1fff518
								
							
						
					
					
						commit
						20a4a66a57
					
				@ -276,11 +276,13 @@ class TestFieldPermutations(TestCase):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def test_created_and_correspondent_and_title_and_tags(self):
 | 
					    def test_created_and_correspondent_and_title_and_tags(self):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        template = ("/path/to/{created} - "
 | 
					        template = (
 | 
				
			||||||
 | 
					            "/path/to/{created} - "
 | 
				
			||||||
            "{correspondent} - "
 | 
					            "{correspondent} - "
 | 
				
			||||||
            "{title} - "
 | 
					            "{title} - "
 | 
				
			||||||
            "{tags}"
 | 
					            "{tags}"
 | 
				
			||||||
                    ".{extension}")
 | 
					            ".{extension}"
 | 
				
			||||||
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for created in self.valid_dates:
 | 
					        for created in self.valid_dates:
 | 
				
			||||||
            for correspondent in self.valid_correspondents:
 | 
					            for correspondent in self.valid_correspondents:
 | 
				
			||||||
@ -299,10 +301,7 @@ class TestFieldPermutations(TestCase):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def test_created_and_correspondent_and_title(self):
 | 
					    def test_created_and_correspondent_and_title(self):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        template = ("/path/to/{created} - "
 | 
					        template = "/path/to/{created} - {correspondent} - {title}.{extension}"
 | 
				
			||||||
                    "{correspondent} - "
 | 
					 | 
				
			||||||
                    "{title}"
 | 
					 | 
				
			||||||
                    ".{extension}")
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for created in self.valid_dates:
 | 
					        for created in self.valid_dates:
 | 
				
			||||||
            for correspondent in self.valid_correspondents:
 | 
					            for correspondent in self.valid_correspondents:
 | 
				
			||||||
@ -325,9 +324,7 @@ class TestFieldPermutations(TestCase):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def test_created_and_title(self):
 | 
					    def test_created_and_title(self):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        template = ("/path/to/{created} - "
 | 
					        template = "/path/to/{created} - {title}.{extension}"
 | 
				
			||||||
                    "{title}"
 | 
					 | 
				
			||||||
                    ".{extension}")
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for created in self.valid_dates:
 | 
					        for created in self.valid_dates:
 | 
				
			||||||
            for title in self.valid_titles:
 | 
					            for title in self.valid_titles:
 | 
				
			||||||
@ -342,10 +339,7 @@ class TestFieldPermutations(TestCase):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def test_created_and_title_and_tags(self):
 | 
					    def test_created_and_title_and_tags(self):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        template = ("/path/to/{created} - "
 | 
					        template = "/path/to/{created} - {title} - {tags}.{extension}"
 | 
				
			||||||
                    "{title} - "
 | 
					 | 
				
			||||||
                    "{tags}"
 | 
					 | 
				
			||||||
                    ".{extension}")
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for created in self.valid_dates:
 | 
					        for created in self.valid_dates:
 | 
				
			||||||
            for title in self.valid_titles:
 | 
					            for title in self.valid_titles:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user