testing auralux using mocha
This commit is contained in:
parent
171539fab8
commit
779c701c2b
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "mocha-python"]
|
||||||
|
path = mocha-python
|
||||||
|
url = git@gitea.azcona-becker.net:mochapowered/mocha-python
|
||||||
13
auralux/main.py
Normal file
13
auralux/main.py
Normal file
@ -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()
|
||||||
1
auralux/mocha
Symbolic link
1
auralux/mocha
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/beckermj/Documents/Projects/concertroid/auralux/mocha-python/mocha
|
||||||
1
mocha-python
Submodule
1
mocha-python
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit d7cb7dc88ddd1126b4997f8fed4a46035599ea87
|
||||||
Loading…
x
Reference in New Issue
Block a user