File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,16 @@ jobs:
56
56
- name : Test domain checking functionality
57
57
run : |
58
58
uv run python -c "
59
+ import asyncio
59
60
from mcp_domain_availability.main import check_domain
60
61
import json
61
- result = check_domain('nonexistentdomain12345 --domain')
62
- print('Domain check test result:')
63
- print(json.dumps(result, indent=2))
64
- assert 'total_checked' in result
65
- print('✓ Domain check functionality works')
66
- "
62
+
63
+ async def test_check_domain():
64
+ result = await check_domain('nonexistentdomain12345 --domain')
65
+ print('Domain check test result:')
66
+ print(json.dumps(result, indent=2))
67
+ assert 'total_checked' in result
68
+ print('✓ Domain check functionality works')
69
+
70
+ asyncio.run(test_check_domain())
71
+ "
You can’t perform that action at this time.
0 commit comments