Test Importing 20 Bills

test_20_bill_imports.go
package main

import (
        "fmt"
        "os/exec"
)

func main() {
        urls := make([]string, 20)
        urls[0] = "hb17-1001"
        urls[1] = "hb17-1002"
        urls[2] = "hb17-1003"
        urls[3] = "hb17-1004"
        urls[4] = "hb17-1005"
        urls[5] = "hb17-1006"
        urls[6] = "hb17-1007"
        urls[7] = "hb17-1008"
        urls[8] = "hb17-1009"
        urls[9] = "hb17-1010"
        urls[10] = "hb17-1011"
        urls[11] = "hb17-1012"
        urls[12] = "hb17-1013"
        urls[13] = "hb17-1014"
        urls[14] = "hb17-1015"
        urls[15] = "hb17-1016"
        urls[16] = "hb17-1017"
        urls[17] = "hb17-1018"
        urls[18] = "hb17-1019"
        urls[19] = "hb17-1020"

        for _, url := range urls {
                fmt.Printf("importing %s\n", url)
                cmd := exec.Command("drush", "coga_import_bill", url)
                err := cmd.Run()
                if err != nil {
                        fmt.Printf("Command finished with error: %v", err)
                }

        }
}