Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaflesudip committed Jun 20, 2017
1 parent 41519f4 commit 7f2e6d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion grabfeed/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ def test_tumblr(self):

class TestAtom(unittest.TestCase):

def test_blogger(self):
def test_error_on_url_without_feed(self):
link = "http://example.com"
self.assertRaises(Exception, return_atom, link)

def test_blogger(self):
link = "https://google.blogspot.com/"
self.assertEqual(
return_atom(link),
Expand Down

0 comments on commit 7f2e6d1

Please sign in to comment.