17 lines
538 B
Python
17 lines
538 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Server lifecycle management for E2E tests.
|
|
Delegates to webapp-testing/with_server.py for actual implementation.
|
|
"""
|
|
import subprocess
|
|
import sys
|
|
import os
|
|
|
|
# Resolve path to webapp-testing skill
|
|
SKILL_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
WEBAPP_TESTING = os.path.join(SKILL_DIR, 'webapp-testing', 'scripts', 'with_server.py')
|
|
|
|
if __name__ == '__main__':
|
|
# Delegate to webapp-testing/with_server.py
|
|
sys.exit(subprocess.call([sys.executable, WEBAPP_TESTING] + sys.argv[1:]))
|