(t *testing.T, source string, refreshable bool, authFile string)
| 664 | } |
| 665 | |
| 666 | func assertCurrentAuthContext(t *testing.T, source string, refreshable bool, authFile string) { |
| 667 | t.Helper() |
| 668 | |
| 669 | if currentAuthContext == nil { |
| 670 | t.Fatal("currentAuthContext = nil") |
| 671 | } |
| 672 | if currentAuthContext.Source != source || currentAuthContext.Refreshable != refreshable || currentAuthContext.AuthFile != authFile { |
| 673 | t.Fatalf("currentAuthContext = %#v, want source=%q refreshable=%t auth_file=%q", currentAuthContext, source, refreshable, authFile) |
| 674 | } |
| 675 | } |
| 676 | |
| 677 | func TestWithRootNamespaceKeepsConfigOnAccountError(t *testing.T) { |
| 678 | cfg := makeDropboxConfig("token", false, "dbmid:member", "api.example.com") |
no outgoing calls
no test coverage detected