From 356ebf91627d6da06edf19901c545dbcb6d0e8d1 Mon Sep 17 00:00:00 2001 From: "Christian Tremblay, ing." Date: Tue, 10 Sep 2024 00:09:49 -0400 Subject: [PATCH] Format --- tests/manual_test.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/manual_test.py b/tests/manual_test.py index 7e884d5..ea2d00c 100644 --- a/tests/manual_test.py +++ b/tests/manual_test.py @@ -1,14 +1,16 @@ import asyncio + import BAC0 from BAC0.scripts.script_runner import run bacnet = None + async def main(): - # Configuration + # Configuration # # Initialize BACnet print(BAC0.infos.__version__) - + async with BAC0.start(ip="127.0.0.1/24") as bacnet: await bacnet._discover() @@ -17,5 +19,5 @@ async def main(): if __name__ == "__main__": - #run(main, bacnet) # Run the script and deals with SIGINT and SIGTERM, useful for long time runnign scripts. - asyncio.run(main()) \ No newline at end of file + # run(main, bacnet) # Run the script and deals with SIGINT and SIGTERM, useful for long time runnign scripts. + asyncio.run(main())