def test__get_reusable_content_different_owner_with_magic(self):
        """Test update_content will reuse someone elses content with magic."""
        user2 = make_storage_user(
            username='testuserX', max_storage_bytes=2 ** 32)
        assert user2.id != self.user.id

        hash_value = self.factory.get_fake_hash()
        node = self._make_file_with_content(
            hash_value, gw=user2._gateway, magic_hash=b'magic')
        self.assertTrue(self.gw._get_reusable_content(hash_value, 'magic'))
        blobexists, blob = self.gw._get_reusable_content(hash_value, 'magic')
        self.assertTrue(blobexists)
        self.assertEqual(bytes(blob.hash), node.content_hash)