def METHOD_NAME(self):
    """Test scan of an integer barcode."""
    response = self.postBarcode(self.scan_url, '123456789')
    self.assertEqual(response.status_code, 400)
    data = response.data
    self.assertIn('error', data)