Skip to content

Commit

Permalink
Fix Codacy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Sep 12, 2023
1 parent 15bd660 commit 8d544ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def test_process_torrent_file(mocked_save_tags: MagicMock, tag_rules_proce
# test that process_torrent_title doesn't find any tags in the title
# the function should return `1` as it should process only one statement -- the TITLE itself
assert await tag_rules_processor.process_torrent_title(infohash=b'infohash', title='title') == 1
mocked_save_tags.call_count == 1
assert mocked_save_tags.call_count == 1

# test that process_torrent_title does find tags in the title
assert await tag_rules_processor.process_torrent_title(infohash=b'infohash', title='title [tag]') == 2
Expand Down

0 comments on commit 8d544ad

Please sign in to comment.