def test_open_url_file_with_protocol(self): fd = open_url('file://%s' % settings.EXAMPLE_RSS_FEED) self.assertEquals('<?xml', fd.read(5))
def test_open_url_file_absolute_path(self): fd = open_url(settings.EXAMPLE_RSS_FEED) self.assertEquals('<?xml', fd.read(5))