From 3e5963ea91f14705ce13275b95e229370e46c876 Mon Sep 17 00:00:00 2001
From: Felix Agner <felix.agner@control.lth.se>
Date: Wed, 9 Nov 2022 14:25:30 +0100
Subject: [PATCH] added a small testscript

---
 test/testclient.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 test/testclient.py

diff --git a/test/testclient.py b/test/testclient.py
new file mode 100644
index 0000000..02dca7b
--- /dev/null
+++ b/test/testclient.py
@@ -0,0 +1,14 @@
+# general
+from omnibot import run_dummybot
+                    
+if __name__ == '__main__':
+    # Server settings
+    HOST = "localhost"
+
+    if len(sys.argv) > 1:
+        # If an input is given to the script, it will be interpreted as the intended
+        # IP-address. Baseline is localhost.
+        HOST = sys.argv[1]
+    
+    print(f"HOST: \t {HOST}")
+    run_dummybot(HOST)
\ No newline at end of file
-- 
GitLab