def test_testName(self): color.blue("test here baby") targetFileContent = """globalLinkForAdminDeleteCommentBy_id = require 'orad/model/globalLinkForAdminDeleteCommentBy_id.iced' th = require 'throw' orgLinkUrlByOrgId = require 'monvgo/model/org/orgLinkUrlByOrgId.iced' makeLinkUrlGlobal = require '../../links/makeLinkUrlGlobal.iced' module.exports = (comment)-> globalLink = globalLinkForAdminDeleteCommentBy_id comment._id orgUrlLink = orgLinkUrlByOrgId comment.OrgId globalOrgiBizLinkUrl = makeLinkUrlGlobal orgUrlLink msgForEmail = comment.Info + "\ndelete: #{globalOrgiBizLinkUrl}" """ result = returnLast.returnArgsByExpressionWithoutWordReturn(targetFileContent) expected = "msgForEmail" assertMy.equals(result, expected)
def test_testName(self): color.blue("test here baby") result = returnLast.returnArgsByExpressionWithoutWordReturn() expected = "" assertMy.equals(result, expected)