blob: 24a5d804b7c68e01a159262770a7158d96caba74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/env python3
"""
API Integration Test Runner for Regflow
Run this to verify your API credentials are working correctly.
"""
import os
import sys
# Add the current directory to the Python path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
# Import the test runner
from tests.run_tests import run_all_tests
if __name__ == "__main__":
print("Regflow API Integration Test Suite")
print("=" * 40)
success = run_all_tests()
if success:
print("\nš All tests passed! Your APIs are ready to use.")
print("\nYou can now run:")
print(" uv run regflow domain.com --dry-run")
print(" uv run regflow domain.com --setup-only")
else:
print("\nā Some tests failed. Please fix the issues before using the tool.")
sys.exit(1)
|