functional test of call_module and new pending action/interact version

This commit is contained in:
Luke Miller
2021-12-06 16:45:52 -05:00
parent 08151ad9d9
commit fa7a0f82f6
5 changed files with 75 additions and 61 deletions

View File

@@ -7,11 +7,9 @@ test_org:add_member('nathan')
print(table.concat(test_org:list_members(), ", "))
function completion()
print("completed")
end
-- modpol.modules.join_org.initiate("paul", test_org)
modpol.modules.join_org.initiate("paul", test_org, completion)
-- process = modpol.modules.join_org_class.create("paul", test_org)
-- process:initiate(completion)
test_org:call_module(
"join_org_class",
"paul"
)