from unittest import TestCase

from openelex.base.fetch import ErrorHandlingURLopener, HTTPError

class TestErrorHandlingURLopener(TestCase):
    def setUp(self):
        self.opener = ErrorHandlingURLopener()

    def test_404(self):
        url = "http://example.com/test.csv"
        self.assertRaises(HTTPError, self.opener.retrieve, url)

Add missing test for ErrorHandlingURLopener
Add missing test for ErrorHandlingURLopener

I forgot to add this with commit
df9cfda52e952bb4d69cc0ee724e713cd6f468d5
