Clean up test formatting a bit

This commit is contained in:
Daniel Quinn 2018-04-22 16:28:21 +01:00
parent 4ed1fff518
commit 20a4a66a57

View File

@ -276,11 +276,13 @@ class TestFieldPermutations(TestCase):
def test_created_and_correspondent_and_title_and_tags(self):
template = ("/path/to/{created} - "
"{correspondent} - "
"{title} - "
"{tags}"
".{extension}")
template = (
"/path/to/{created} - "
"{correspondent} - "
"{title} - "
"{tags}"
".{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: