diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c0f62de --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "mocha-python"] + path = mocha-python + url = git@gitea.azcona-becker.net:mochapowered/mocha-python diff --git a/auralux/main.py b/auralux/main.py new file mode 100644 index 0000000..0486081 --- /dev/null +++ b/auralux/main.py @@ -0,0 +1,13 @@ +from mocha.core import * +from mocha.oms import MemoryOms + +oms = MemoryOms() +oms.create_tenant("auralux1") + +print(oms.get_current_tenant()) + +oms.select_tenant(oms.get_tenant_by_name("auralux1")) + +print(oms.get_current_tenant().get_name()) + +oms.release_tenant() \ No newline at end of file diff --git a/auralux/mocha b/auralux/mocha new file mode 120000 index 0000000..415b33a --- /dev/null +++ b/auralux/mocha @@ -0,0 +1 @@ +/home/beckermj/Documents/Projects/concertroid/auralux/mocha-python/mocha \ No newline at end of file diff --git a/mocha-python b/mocha-python new file mode 160000 index 0000000..d7cb7dc --- /dev/null +++ b/mocha-python @@ -0,0 +1 @@ +Subproject commit d7cb7dc88ddd1126b4997f8fed4a46035599ea87