summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-01 20:53:15 +0300
committerPaul Buetow <paul@buetow.org>2026-04-01 20:53:15 +0300
commitb1f5cd11496ef8a468a63fd2329a33e3046ab13a (patch)
tree998b518f6e8071bb2f76cefaddd4c75d9b09c0ce /internal
parent230eca35d61a27a9f491f8facd4a1b114a2a59a0 (diff)
Restore Nano Banana integration gate
Diffstat (limited to 'internal')
-rw-r--r--internal/image/nanobanana_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/image/nanobanana_test.go b/internal/image/nanobanana_test.go
index ecaf945..9c9dacd 100644
--- a/internal/image/nanobanana_test.go
+++ b/internal/image/nanobanana_test.go
@@ -523,6 +523,9 @@ func TestNanoBananaClient_GetAttribution(t *testing.T) {
}
func TestNanoBananaClient_Integration(t *testing.T) {
+ if os.Getenv("TOTALRECALL_IMAGE_INTEGRATION") == "" {
+ t.Skip("TOTALRECALL_IMAGE_INTEGRATION not set, skipping integration test")
+ }
apiKey := os.Getenv("GOOGLE_API_KEY")
if apiKey == "" {
t.Skip("GOOGLE_API_KEY not set, skipping integration test")