def nesting_exception_view(request):
    client = Client()
    client.get('/get_view/')
    raise Exception('exception message')
Get heater and cooler power levels.
dataset/ETHPy150Open django/django/tests/test_client/views.py/nesting_exception_view--crossover with--dataset/ETHPy150Open amorphic/braubuddy/braubuddy/envcontroller/base.py/IEnvController.get_power_levels