nested_module_test.lua 243 B

12345678910111213
  1. dofile('../modpol.lua');
  2. modpol.orgs.reset()
  3. test_org = modpol.instance:add_org('test_org', 'luke')
  4. test_org:add_member('nathan')
  5. print(table.concat(test_org:list_members(), ", "))
  6. test_org:call_module(
  7. "join_org_consent",
  8. "paul"
  9. )