func setEnvironmentVariables() {
	os.Setenv(
		"CRAWL_ETH_API_URL",
		"http://ethaddress.com",
	)
	os.Setenv(
		"CRAWL_CONTRACT_ADDRESSES",
		"civiltcr:0x77e5aabddb760fba989a1c4b2cdd4aa8fa3d311d,newsroom:0xdfe273082089bb7f70ee36eebcde64832fe97e55",
	)
	os.Setenv(
		"CRAWL_PERSISTER_TYPE_NAME",
		"postgresql",
	)
	os.Setenv(
		"CRAWL_PERSISTER_POSTGRES_ADDRESS",
		"localhost",
	)
	os.Setenv(
		"CRAWL_PERSISTER_POSTGRES_PORT",
		"5432",
	)
	os.Setenv(
		"CRAWL_PERSISTER_POSTGRES_DBNAME",
		"civil_crawler",
	)
}
CRAWL_ETH_API_URL=http://ethaddress.com CRAWL_CONTRACT_ADDRESSES=civiltcr:0x77e5aabddb760fba989a1c4b2cdd4aa8fa3d311d,newsroom:0xdfe273082089bb7f70ee36eebcde64832fe97e55 CRAWL_PERSISTER_TYPE_NAME=postgresql CRAWL_PERSISTER_POSTGRES_ADDRESS=localhost CRAWL_PERSISTER_POSTGRES_PORT=5432 CRAWL_PERSISTER_POSTGRES_DBNAME=civil_crawler go run cmd/crawler/main.go
package utils_test
import (
	"bytes"
	"context"
	"encoding/json"
	"fmt"
	"github.com/joincivil/civil-events-crawler/pkg/utils"
	cconfig "github.com/joincivil/go-common/pkg/config"
	"net/http"
	"os"
	"testing"
)