Skip to content

Commit 3a7e968

Browse files
committed
fix: double api key print + cleanup labs on target run
1 parent 805e00f commit 3a7e968

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ patch_templates:
2020
rm -rf $$VENV
2121

2222
tests:
23-
uv run pytest -rs -v -s -m e2e
23+
@set -e; \
24+
uv run pytest -rs -v -s -m e2e || exit 0; \
25+
$(MAKE) clean-tests
26+
2427

2528
clean-tests:
2629
@source .venv/bin/activate && \
@@ -33,4 +36,4 @@ push_twilio_shim:
3336
cd twilio-shim && docker buildx build -t docker.io/syntaxsdev/twilio-shim:latest -f Dockerfile . --load --push
3437

3538

36-
.PHONY: patch_templates tests clean-tests build_appwrite_cli build_appwrite_playwright
39+
.PHONY: patch_templates tests clean-tests build_appwrite_cli build_appwrite_playwright build_twilio_shim push_twilio_shim

appwrite_lab/labs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def create_api_key(
152152
return Response(
153153
message=f"API key created for {project_name}",
154154
data=api_key.data,
155-
_print_data=True,
155+
_print_data=False,
156156
)
157157

158158
def stop(self, name: str):

0 commit comments

Comments
 (0)