-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsample_data.py
More file actions
42 lines (38 loc) · 988 Bytes
/
sample_data.py
File metadata and controls
42 lines (38 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"""Sample response data from Google Firebase."""
incorrect = {
"error": {
"code": 400,
"message": "INVALID_LOGIN_CREDENTIALS",
"errors": [
{
"message": "INVALID_LOGIN_CREDENTIALS",
"domain": "global",
"reason": "invalid",
}
],
}
}
correct = {
"kind": "identitytoolkit#VerifyPasswordResponse",
"localId": "MMASbsdjhAKSJnad7NBD",
"email": "sakhile@spacex.com",
"displayName": "",
# pylint: disable=line-too-long
"idToken": "eyJhbGciKAJBDSMDNbsdkjdfhjALDJBHJSdksfJKV1QifQ.esdjhfdfbbvdbpwnBsTwxJXQ-CGPEdSup-XbMqlmcJTLVAJ7_jshfRWCJD6Q",
"expiresIn": "3600",
}
users = [
None,
{
"email": "sakhi@example.com",
"expertise": "Python",
"name": "Sakhile",
"role": "mentee",
},
{
"email": "kyle@dsquad.co.za",
"expertise": "Python",
"name": "Kyle",
"role": "mentor",
},
]