Spaces:
Runtime error
Runtime error
Download tests/test_google_cloud_api_setup.sh from dia-gov/Project-Red-Sword: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/spaces/dia-gov/Project-Red-Sword/resolve/main/tests/test_google_cloud_api_setup.sh
- Command line
-
hf download hf://spaces/dia-gov/Project-Red-Sword/tests/test_google_cloud_api_setup.sh
-
curl -L -o test_google_cloud_api_setup.sh https://huggingface.co/spaces/dia-gov/Project-Red-Sword/resolve/main/tests/test_google_cloud_api_setup.sh
376 Bytes
| # Test cases for google_cloud_api_setup.sh | |
| echo "Running tests for google_cloud_api_setup.sh..." | |
| # Test if API setup executes correctly | |
| output=$(bash ../google_cloud_api_setup.sh --test) | |
| if [ $? -eq 0 ]; then | |
| echo "Test 1: Google Cloud API setup successful" | |
| else | |
| echo "Test 1: Google Cloud API setup failed" | |
| fi | |
| # Additional test cases can be added here | |