]> git.giacomolli.uk - onechat/blobdiff - whatsapp_import_test.go
Give the rebuild its own call limit
[onechat] / whatsapp_import_test.go
index d735f4c8b9aad51a72ac147d326c93b5e51d8e49..f93cd19d772112f545579268b954aa3af75c6a0f 100644 (file)
@@ -248,7 +248,7 @@ func TestWhatsAppImportPlanCommandDoesNotChangeAgentOrCallModel(t *testing.T) {
        require.NoError(t, whatsappImport(t.Context(), []string{"-n", whatsappImportSample(t)}, &report))
        require.Equal(t, before, rebuildTestSnapshot(t, agent.dir))
 
-       for _, want := range []string{"chats: 1", "Book Club", "batches: 5", "dates: ", "cutoff: none", "bytes: ", "messages: 6", "estimated calls: 8", "owner: unknown"} {
+       for _, want := range []string{"chats: 1", "Book Club", "batches: 5", "dates: ", "cutoff: none", "bytes: ", "messages: 6", "estimated calls: 8 (about 1.3 per message, limit 1500)", "owner: unknown"} {
                require.Contains(t, report.String(), want)
        }