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