Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F13385198
auth_test.go
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
306 B
Subscribers
None
auth_test.go
View Options
package
writeas
import
"testing"
func
TestAuthentication
(
t
*
testing
.
T
)
{
dwac
:=
NewDevClient
()
// Log in
_
,
err
:=
dwac
.
LogIn
(
"demo"
,
"demo"
)
if
err
!=
nil
{
t
.
Fatalf
(
"Unable to log in: %v"
,
err
)
}
// Log out
err
=
dwac
.
LogOut
()
if
err
!=
nil
{
t
.
Fatalf
(
"Unable to log out: %v"
,
err
)
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 11:35 PM (7 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3599791
Attached To
rWGO writeas-go
Event Timeline
Log In to Comment