Skip to content

Commit

Permalink
OD-1731: Remove unused variable from test
Browse files Browse the repository at this point in the history
  • Loading branch information
hlieberman committed Nov 1, 2023
1 parent 3c91348 commit 3ac05af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/test_multiple_authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ def test_multiple_authors(self):
'url': None, 'imported': 0, 'do_not_import': 0, 'ao3_url': None, 'import_notes': ''}

story_authors = [{'id': 4114, 'author_id': 1, 'item_id': 1, 'item_type': 'story'}, {'id': 4115, 'author_id': 2, 'item_id': 1, 'item_type': 'story'}, {'id': 4116, 'author_id': 3, 'item_id': 1, 'item_type': 'story'}, {'id': 4117, 'author_id': 4, 'item_id': 1, 'item_type': 'story'}, {'id': 5, 'author_id': 5, 'item_id': 1, 'item_type': 'story'}, {'id': 4119, 'author_id': 6, 'item_id': 1, 'item_type': 'story'}, {'id': 4120, 'author_id': 7, 'item_id': 1, 'item_type': 'story'}, {'id': 4121, 'author_id': 8, 'item_id': 1, 'item_type': 'story'}, {'id': 4122, 'author_id': 9, 'item_id': 1, 'item_type': 'story'}]
output_table_name = "stories"


final_story = self.final_tables.story_to_final_without_tags(story, story_authors)
self.assertEqual(final_story['notes'], 'Creators: 1, 2, 3, 4, 5, 6, 7, 8 and 9')

if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit 3ac05af

Please sign in to comment.