Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 23rd, 2017
540
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.35 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
test_index_handles_logged_in_user
(
self
)
:
user
=
User
(
name
=
'jj'
,
email
=
'
[email protected]
'
,
password
=
'test12345'
)
user
.
save
(
)
print
(
user
.
email
,
user
.
password
)
c
=
Client
(
)
response
=
c.
post
(
'/sign_in'
,
{
'email'
:
'
[email protected]
'
,
'password'
:
'test12345'
}
,
follow
=
True
)
print
(
response.
content
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
This month smells like money
CSS | 6 hours ago | 0.99 KB
Instant Profits Method
CSS | 6 hours ago | 0.99 KB
Free Money Exploit
CSS | 6 hours ago | 0.99 KB
+12,000$ in 2 days
CSS | 6 hours ago | 0.99 KB
✅ Changelly Exploit
CSS | 6 hours ago | 0.99 KB
sglang llm key
8 hours ago | 0.07 KB
doc
12 hours ago | 14.62 KB
myGiteaMcpConfig
JSON | 15 hours ago | 0.28 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!