From 5abe606d18b21ecc0399220c7e27dcee43da9d1d Mon Sep 17 00:00:00 2001 From: Valentine Date: Sat, 9 Mar 2024 04:08:35 +0300 Subject: [PATCH] skip auth test by default --- auth_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth_test.go b/auth_test.go index 9dfc4fa..c98fd4b 100644 --- a/auth_test.go +++ b/auth_test.go @@ -55,7 +55,8 @@ func init() { return } - panic("None of any auth data provided, provide any variables or set SKIP_AUTH_TEST.") + skipAuthTest = true + fmt.Println("None of any auth data provided, skipping all tests that reqires auth") } func newTestScraper(skip_auth bool) *twitterscraper.Scraper {