From 19ae44a11c4a56c075bcc8eabf30a6aa161d1008 Mon Sep 17 00:00:00 2001 From: Dylan Katz Date: Thu, 3 Dec 2020 17:26:19 -0800 Subject: [PATCH] Fixed test --- test/test_paste_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_paste_objects.py b/test/test_paste_objects.py index 6534d05..e16af5d 100644 --- a/test/test_paste_objects.py +++ b/test/test_paste_objects.py @@ -19,7 +19,7 @@ def json(self): def test_slexy_site(): pid_list_fake = [0, 1, 2, 3, 4] - slexy_site = SlexyPasteSite() + slexy_site = SlexyPasteSite({}) slexy_site.get_recent_items = lambda: pid_list_fake slexy_site.get_paste_for_id = lambda pid: mock_get_paste_for_pid(str(pid)) slexy_site.remap_raw_item = lambda raw_data, pid: {"pid": 123}