(t *testing.T)
| 51 | } |
| 52 | |
| 53 | func (f *Fs) importPaperForTest(t *testing.T) { |
| 54 | content := `# test doc |
| 55 | |
| 56 | Lorem ipsum __dolor__ sit amet |
| 57 | [link](http://google.com) |
| 58 | ` |
| 59 | |
| 60 | arg := files.PaperCreateArg{ |
| 61 | Path: f.slashRootSlash + "export.paper", |
| 62 | ImportFormat: &files.ImportFormat{Tagged: dropbox.Tagged{Tag: files.ImportFormatMarkdown}}, |
| 63 | } |
| 64 | var err error |
| 65 | err = f.pacer.Call(func() (bool, error) { |
| 66 | reader := strings.NewReader(content) |
| 67 | _, err = f.srv.PaperCreate(&arg, reader) |
| 68 | return shouldRetry(context.Background(), err) |
| 69 | }) |
| 70 | require.NoError(t, err) |
| 71 | } |
| 72 | |
| 73 | func (f *Fs) InternalTestPaperExport(t *testing.T) { |
| 74 | ctx := context.Background() |
no test coverage detected