diff options
Diffstat (limited to 'testing/web-platform/tests/XMLHttpRequest/resources/auth2/auth.py')
-rw-r--r-- | testing/web-platform/tests/XMLHttpRequest/resources/auth2/auth.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/XMLHttpRequest/resources/auth2/auth.py b/testing/web-platform/tests/XMLHttpRequest/resources/auth2/auth.py new file mode 100644 index 000000000..8b6682686 --- /dev/null +++ b/testing/web-platform/tests/XMLHttpRequest/resources/auth2/auth.py @@ -0,0 +1,10 @@ +import imp +import os + +here = os.path.split(os.path.abspath(__file__))[0] + +def main(request, response): + auth = imp.load_source("", os.path.join(here, + "..", + "authentication.py")) + return auth.main(request, response) |