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