def test_convert_by_lookup_error(self):
        p = click.Option(('name', '-n'))
        with client.test_mode as t:
            t.register_json('/users/?username=meagan', {}, status_code=404)
            with self.assertRaises(exc.RelatedError):
                self.related.convert('meagan', p, None)
Convert spherical coordinates to cartesian coordinates.
dataset/ETHPy150Open ansible/tower-cli/tests/test_utils_types.py/RelatedTests.test_convert_by_lookup_error--crossover with--dataset/ETHPy150Open python-acoustics/python-acoustics/acoustics/directivity.py/spherical_to_cartesian