def METHOD_NAME(self):
    self.prepare_data()
    self.create_token()
    headers = self.create_bearer_header('a1')
    rv = self.client.get('/operator-and', headers=headers)
    self.assertEqual(rv.status_code, 403)
    resp = json.loads(rv.data)
    self.assertEqual(resp['error'], 'insufficient_scope')
    rv = self.client.get('/operator-or', headers=headers)
    self.assertEqual(rv.status_code, 200)