From 534206a236c9c01ea1af18bb1667b9a98ac13b50 Mon Sep 17 00:00:00 2001 From: Constantin Date: Sat, 13 Sep 2025 16:10:51 +0300 Subject: [PATCH] switch python3 --- Makefile | 20 ++++++++++---------- webui/index.html | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 4fd425f..73c9e39 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ help: # Setup commands setup: @echo "Setting up Personal Internet Cell..." - python scripts/setup_cell.py + python3 scripts/setup_cell.py @echo "Setup complete!" init-peers: @@ -120,7 +120,7 @@ test: test-all: @echo "Running all tests using the unified test runner..." - python api/tests/run_tests.py + python3 api/tests/run_tests.py # Remove or update old test targets that reference non-existent files test-unit: @@ -133,31 +133,31 @@ test-coverage: test-api: @echo "Testing API endpoints..." - cd api && python -m pytest tests/test_api_endpoints.py -v + cd api && python3 -m pytest tests/test_api_endpoints.py -v test-cli: @echo "Testing CLI tool..." - cd api && python -m pytest tests/test_cli_tool.py -v + cd api && python3 -m pytest tests/test_cli_tool.py -v test-phase1: @echo "Testing Phase 1 (Network Foundation)..." - cd api && python -m pytest tests/test_network_manager.py tests/test_phase1_endpoints.py -v + cd api && python3 -m pytest tests/test_network_manager.py tests/test_phase1_endpoints.py -v test-phase2: @echo "Testing Phase 2 (WireGuard & Peer Registry)..." - cd api && python -m pytest tests/test_wireguard_manager.py tests/test_phase2_endpoints.py -v + cd api && python3 -m pytest tests/test_wireguard_manager.py tests/test_phase2_endpoints.py -v test-phase3: @echo "Testing Phase 3 (Core Digital Services)..." - cd api && python -m pytest tests/test_phase3_managers.py tests/test_phase3_endpoints.py -v + cd api && python3 -m pytest tests/test_phase3_managers.py tests/test_phase3_endpoints.py -v test-phase4: @echo "Testing Phase 4 (VPN Gateway & Routing)..." - cd api && python -m pytest tests/test_phase4_routing.py tests/test_phase4_endpoints.py -v + cd api && python3 -m pytest tests/test_phase4_routing.py tests/test_phase4_endpoints.py -v test-all-phases: @echo "Testing all phases..." - cd api && python -m pytest tests/ -v + cd api && python3 -m pytest tests/ -v # Network commands show-routes: @@ -176,4 +176,4 @@ add-peer: list-peers: @echo "Configured peers:" - @curl -s http://localhost:3000/api/peers | python -m json.tool || echo "API not responding" \ No newline at end of file + @curl -s http://localhost:3000/api/peers | python3 -m json.tool || echo "API not responding" \ No newline at end of file diff --git a/webui/index.html b/webui/index.html index 0c589ec..f753e9f 100644 --- a/webui/index.html +++ b/webui/index.html @@ -4,7 +4,7 @@ - Vite + React + Personal Internet Cell