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