chore: migrate to uv

This commit is contained in:
aserper
2025-12-14 00:08:10 -05:00
parent 6311ca3f39
commit c7850ba05f
10 changed files with 754 additions and 83 deletions

View File

@@ -158,9 +158,11 @@ class TestMastodonRSSBot(unittest.TestCase):
bot = MastodonRSSBot(**self.test_config)
bot.feed_urls = ["http://feed1.com", "http://feed2.com"]
with patch.object(bot, "load_processed_entries", return_value=set()), patch.object(
bot, "process_feed", side_effect=[1, 2]
) as mock_process, patch.object(bot, "save_processed_entries") as mock_save:
with (
patch.object(bot, "load_processed_entries", return_value=set()),
patch.object(bot, "process_feed", side_effect=[1, 2]) as mock_process,
patch.object(bot, "save_processed_entries") as mock_save,
):
total = bot.process_new_entries()
self.assertEqual(total, 3)