summaryrefslogtreecommitdiff
path: root/test_apis.py
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-07-18 15:43:32 +0200
committerYuval Adam <_@yuv.al>2025-07-18 15:43:32 +0200
commitd0c73a92f27a652eaf925d880625a05ae211211d (patch)
tree7a82b603764f56690b7a8e3d0241e1d19934839c /test_apis.py
parent350eedaf53068b1822846fceee15c97c644aad8a (diff)
Add tests
Diffstat (limited to 'test_apis.py')
-rwxr-xr-xtest_apis.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/test_apis.py b/test_apis.py
new file mode 100755
index 0000000..24a5d80
--- /dev/null
+++ b/test_apis.py
@@ -0,0 +1,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) \ No newline at end of file