Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay committed Sep 10, 2024
1 parent aea0e00 commit 356ebf9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/manual_test.py
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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())
# run(main, bacnet) # Run the script and deals with SIGINT and SIGTERM, useful for long time runnign scripts.
asyncio.run(main())

0 comments on commit 356ebf9

Please sign in to comment.