Skip to content

Commit

Permalink
FIX: Updates tests to match the proper assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoTorres committed Apr 10, 2015
1 parent 255c72d commit 2786e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_imgurfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ def test_select_image(self):
"""
def test_get_image_from_album(self):

with self.assertRaises(AssertionError):
with self.assertRaises(ValueError):
self.fetcher._get_image_from_album(None)

with self.assertRaises(AssertionError):
with self.assertRaises(ValueError):
self.fetcher._get_image_from_album(self.gallery[0])

with patch("bg_daemon.fetchers.imgurfetcher.ImgurClient") as \
Expand Down

0 comments on commit 2786e56

Please sign in to comment.