2fbcf6ee6d
A few things at once because it was faster to get a demo out the door. Skipping most test implementation though I made failing stubs so I know what to fill in later. * Get/Post WalletState * downloadKey/email so that a second client can log in, and/or recover from lost client * Test client in Python to demonstrate the above * Organize into packages
17 lines
307 B
Go
17 lines
307 B
Go
package server
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestServerRegisterSuccess(t *testing.T) {
|
|
t.Fatalf("Test me:")
|
|
}
|
|
|
|
func TestServerRegisterErrors(t *testing.T) {
|
|
t.Fatalf("Test me:")
|
|
}
|
|
|
|
func TestServerValidateRegisterRequest(t *testing.T) {
|
|
t.Fatalf("Test me: Implement and test RegisterRequest.validate()")
|
|
}
|