FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sendgrid-python/test/test_parse.py at main · SkillfactoryCoding/sendgrid-python · GitHub
SkillfactoryCoding
/
sendgrid-python
Public
forked from
sendgrid/sendgrid-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sendgrid-python
/
test
/
test_parse.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (11 loc) · 453 Bytes
Breadcrumbs
sendgrid-python
/
test
/
test_parse.py
Copy path
File metadata and controls
16 lines (11 loc) · 453 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
unittest
from
sendgrid
.
helpers
.
inbound
.
config
import
Config
from
sendgrid
.
helpers
.
inbound
.
app
import
app
class
UnitTests
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
config
=
Config
()
self
.
tester
=
app
.
test_client
(
self
)
def
test_parse
(
self
):
response
=
self
.
tester
.
post
(
self
.
config
.
endpoint
,
data
=
'{"Message:", "Success"}'
)
self
.
assertEqual
(
response
.
status_code
,
200
)
Back
|
FazBrowse Home
|
New Git URL