starting to add some test cases

This commit is contained in:
Luke Miller 2021-04-27 01:00:49 -04:00
parent 0186384711
commit 919e7524d2

View 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')