X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tests%2Ftest_async_task.py;fp=tests%2Ftest_async_task.py;h=0000000000000000000000000000000000000000;hp=da6e96efa322d21d0a362c7e7f84c45633c37613;hb=5e08a0e8fa4fd9d0156d28f8f4e53e5b176c704a;hpb=427f57893cb4bf8aebc0b6f56d0cb3f178d23cf1 diff --git a/tests/test_async_task.py b/tests/test_async_task.py deleted file mode 100644 index da6e96e..0000000 --- a/tests/test_async_task.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env python3 -# Recreate the conditions in which this will be used in OSM, called via tasks -import asyncio - -if __name__ == "__main__": - main() - -async def do_something(): - pass - -def main(): - - loop = asyncio.get_event_loop() - loop.run_until_complete(do_something()) - loop.close() - loop = None