Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
Clean up test formatting a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
danielquinn committed Apr 22, 2018
1 parent 4ed1fff commit 20a4a66
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions src/documents/tests/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,13 @@ def test_title_and_correspondent_and_tags(self):

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:
Expand All @@ -299,10 +301,7 @@ def test_created_and_correspondent_and_title_and_tags(self):

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:
Expand All @@ -325,9 +324,7 @@ def test_created_and_correspondent_and_title(self):

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:
Expand All @@ -342,10 +339,7 @@ def test_created_and_title(self):

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:
Expand Down

0 comments on commit 20a4a66

Please sign in to comment.