github.com/stellar/stellar-etl@v1.0.1-0.20240312145900-4874b6bf2b89/cmd/export_claimable_balances_test.go (about)

     1  package cmd
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestExportClaimableBalances(t *testing.T) {
     8  	tests := []cliTest{
     9  		{
    10  			name:    "claimable balances",
    11  			args:    []string{"export_claimable_balances", "-e", "32878607", "-o", gotTestDir(t, "bucket_read.txt")},
    12  			golden:  "bucket_read.golden",
    13  			wantErr: nil,
    14  		},
    15  	}
    16  
    17  	for _, test := range tests {
    18  		runCLITest(t, test, "testdata/claimable_balances/")
    19  	}
    20  }