def METHOD_NAME(self):
    """
    Tests the calculator when the height is too low. Should trigger an error message.
    """
    self.user_login('test')
    profile = UserProfile.objects.get(user__username='test')
    profile.weight_unit = 'lb'
    profile.save()
    response = self.client.post(
        reverse('nutrition:bmi:calculate'), {
            'height': 98,
            'weight': 145
        }
    )
    self.assertEqual(response.status_code, 406)
    response = json.loads(response.content.decode('utf8'))
    self.assertTrue('error' in response)