Ver código fonte

[Fix] TestFrappeOAuth2Client

version-14
Revant Nandgaonkar 7 anos atrás
pai
commit
b4d1ad2d9a
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      frappe/tests/test_frappeoauth2client.py

+ 1
- 1
frappe/tests/test_frappeoauth2client.py Ver arquivo

@@ -64,7 +64,7 @@ class TestFrappeOAuth2Client(unittest.TestCase):

# Parse bearer token json
bearer_token = token_response.json()
client = FrappeClient(frappe.get_site_config().host_name, bearer_token.get("access_token"))
client = FrappeOAuth2Client(frappe.get_site_config().host_name, bearer_token.get("access_token"))
notes = [
{"doctype": "Note", "title": "Sing", "public": True},


Carregando…
Cancelar
Salvar