summaryrefslogtreecommitdiff
path: root/ucoo/arch/host/mex/test/hub.py
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/arch/host/mex/test/hub.py')
-rw-r--r--ucoo/arch/host/mex/test/hub.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ucoo/arch/host/mex/test/hub.py b/ucoo/arch/host/mex/test/hub.py
new file mode 100644
index 0000000..31dcec1
--- /dev/null
+++ b/ucoo/arch/host/mex/test/hub.py
@@ -0,0 +1,6 @@
+# Hub for test.
+from mex.hub import Hub
+def log (x):
+ print x
+h = Hub (min_clients = 2, log = log)
+h.wait ()