Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Plazmaz committed Dec 12, 2020
1 parent 89018f0 commit 19ae44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_paste_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 19ae44a

Please sign in to comment.