starting to add some test cases
This commit is contained in:
parent
0186384711
commit
919e7524d2
10
modpol/tests/org_basic_test.lua
Normal file
10
modpol/tests/org_basic_test.lua
Normal file
@ -0,0 +1,10 @@
|
||||
dofile("../modpol.lua")
|
||||
|
||||
print('\nRemoving existing orgs')
|
||||
modpol.orgs.reset()
|
||||
|
||||
print('\nCreating an org called "test_org"')
|
||||
test_org = modpol.instance:add_org('test_org')
|
||||
|
||||
print('\nTrying to create an org with the same name')
|
||||
duplicate = modpol.instance:add_org('test_org')
|
Loading…
x
Reference in New Issue
Block a user