New N2VC interface + updated libjuju
This commit introduces the Python3 N2VC module, which acts as a standard
interface to the VCA.
The goal of this is to provide a common way for modules to interface
with the VCA.
- Updated libjuju from 0.6.1 to 0.7.3
Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: Ide70fb5ae5797eb6486de24653dc09a23f9c009e
diff --git a/tests/test_async_task.py b/tests/test_async_task.py
new file mode 100644
index 0000000..da6e96e
--- /dev/null
+++ b/tests/test_async_task.py
@@ -0,0 +1,16 @@
+#!/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