def test_get_size_with_multi_tenant_on(self):
        uri = ("swift://%s:key@auth_address/glance/%s" %
               (self.swift_store_user, FAKE_UUID))
        self.config(swift_store_multi_tenant=True)
        # NOTE(markwash): ensure the image is found
        ctxt = mock.MagicMock()
        size = backend.get_size_from_backend(uri, context=ctxt)
        self.assertEqual(size, 5120)
Scales all values in the ndarray ndar to be between 0 and 1
dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py/SwiftTests.test_get_size_with_multi_tenant_on--crossover with--dataset/ETHPy150Open dpkingma/nips14-ssl/anglepy/paramgraphics.py/scale_to_unit_interval