mCaptcha-cache/tests/test.py

30 lines
989 B
Python
Raw Permalink Normal View History

#!/bin/env /usr/bin/python3
2021-06-06 09:10:30 +03:00
#
# Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
2021-06-06 14:32:02 +03:00
import asyncio
2021-06-05 14:26:35 +03:00
2021-06-06 09:10:30 +03:00
from runner import Runner
2021-06-05 14:26:35 +03:00
2021-06-06 08:39:37 +03:00
2021-06-06 14:32:02 +03:00
async def main():
2021-06-08 16:43:57 +03:00
print("Running Integration Tests")
2021-06-07 14:44:39 +03:00
runner = Runner()
2021-06-08 16:43:57 +03:00
await runner.run()
2021-06-07 14:44:39 +03:00
print("All tests passed")
2021-06-05 14:26:35 +03:00
if __name__ == "__main__":
2021-06-06 14:32:02 +03:00
asyncio.run(main())