def test_http_resource(self):

        # Open an HTTP document resource.
        rm = ResourceManager()

        f = rm.file('http://localhost:1234/file.dat')
        self.assertNotEqual(f, None)
        contents = f.read()
        f.close()

        self.assertEquals(contents, 'This is a test file.\n')

        return
This method executes the symmetry detection
dataset/ETHPy150Open enthought/envisage/envisage/resource/tests/resource_manager_test_case.py/ResourceManagerTestCase.test_http_resource--crossover with--dataset/ETHPy150Open neuropoly/spinalcordtoolbox/dev/sct_detect_spinalcord/sct_detect_spinalcord.py/SymmetryDetector.execute