Update paths
This commit is contained in:
parent
04473ecad3
commit
c53083dd72
|
|
@ -1,8 +1,8 @@
|
|||
import graphene
|
||||
from graphene import relay
|
||||
|
||||
from core.hep_client import HepClient, HepClientException
|
||||
from users.user_signup_login_handler import check_and_create_licenses, create_role_for_user
|
||||
from oauth.hep_client import HepClient, HepClientException
|
||||
from oauth.user_signup_login_handler import check_and_create_licenses, create_role_for_user
|
||||
|
||||
|
||||
class Coupon(relay.ClientIDMutation):
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ INSTALLED_APPS = [
|
|||
'statistics',
|
||||
'surveys',
|
||||
'notes',
|
||||
'registration',
|
||||
'news',
|
||||
'oauth',
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ from graphene.test import Client
|
|||
|
||||
from api.schema import schema
|
||||
from core.factories import UserFactory
|
||||
from core.hep_client import HepClient
|
||||
from core.tests.mock_hep_data_factory import MockResponse, VALID_TEACHERS_ORDERS
|
||||
from oauth.hep_client import HepClient
|
||||
from users.tests.mock_hep_data_factory import MockResponse, VALID_TEACHERS_ORDERS
|
||||
from users.models import License, Role, SchoolClass, UserRole
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,40 +1,12 @@
|
|||
{
|
||||
"id": 49124,
|
||||
"group_id": 1,
|
||||
"default_billing": "47579",
|
||||
"default_shipping": "47579",
|
||||
"created_at": "2018-07-19 15:05:27",
|
||||
"updated_at": "2019-11-26 17:04:29",
|
||||
"created_in": "hep verlag",
|
||||
"email": "1heptest19072018@mailinator.com",
|
||||
"first_name": "Test",
|
||||
"last_name": "Test",
|
||||
"prefix": "Frau",
|
||||
"gender": 2,
|
||||
"store_id": 1,
|
||||
"website_id": 1,
|
||||
"addresses": [
|
||||
{
|
||||
"id": 47579,
|
||||
"customer_id": 49124,
|
||||
"region": {
|
||||
"region_code": null,
|
||||
"region": null,
|
||||
"region_id": 0
|
||||
},
|
||||
"region_id": 0,
|
||||
"country_id": "CH",
|
||||
"street": [
|
||||
"Test"
|
||||
],
|
||||
"telephone": "",
|
||||
"postcode": "0000",
|
||||
"city": "Test",
|
||||
"firstname": "Test",
|
||||
"lastname": "Test",
|
||||
"prefix": "Frau",
|
||||
"default_shipping": true,
|
||||
"default_billing": true
|
||||
}
|
||||
]
|
||||
"id": 5,
|
||||
"email": "hans.meier@iterativ.ch",
|
||||
"email_verified_at": null,
|
||||
"salutation": null,
|
||||
"company": null,
|
||||
"first_name": "Hans",
|
||||
"last_name": "Meier",
|
||||
"phone": null,
|
||||
"institution": null,
|
||||
"name": "Hans Meier"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue