Merge pull request #1 from imperatrona/open-account
Reusing open account
This commit is contained in:
commit
d45ac95957
5 changed files with 45 additions and 22 deletions
|
|
@ -52,7 +52,9 @@ func TestAuth(t *testing.T) {
|
|||
|
||||
func TestLoginOpenAccount(t *testing.T) {
|
||||
scraper := twitterscraper.New()
|
||||
if err := scraper.LoginOpenAccount(); err != nil {
|
||||
_, err := scraper.LoginOpenAccount()
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("LoginOpenAccount() error = %v", err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue