From d0c73a92f27a652eaf925d880625a05ae211211d Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Fri, 18 Jul 2025 15:43:32 +0200 Subject: Add tests --- test_apis.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 test_apis.py (limited to 'test_apis.py') 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 -- cgit v1.3.1