'When we ask for a formula rendering, there should be an error if no formula'

def test_ajax_no_formula(self):

    response = self.the_input.handle_ajax('preview_chemcalc', {})
    self.assertIn('error', response)
    self.assertEqual(response['error'], 'No    formula    specified.')
