

@httpretty.activate
def test_source_from_url(self):
    ' When the manifest is sourced from a url, the source should be the url. '
    TEST_URI = 'http://testme.com/test.cfg'
    httpretty.register_uri(httpretty.GET, TEST_URI, body=http_manifest)
    m = load_manifest(TEST_URI)
    assert (m.source() == self)

dataset/ETHPy150Open toumorokoshi/sprinter/sprinter/core/tests/test_manifest.py TestManifest.test_source_from_url/VarMisuse@51/108 `TEST_URI`->`self`