# File lib/rex/test.rb, line 26defself.cantmock()
if (!$_REX_TEST_NO_MOCK)
raiseRuntimeError, "*** $_REX_TEST_NO_MOCK must not be set for this test ***", callerendend
load()click to toggle source
overwrite test defaults with rex/test-config.rb
# File lib/rex/test.rb, line 14defself.load()
file = File.join( ENV.fetch('HOME'), '.msf3', 'test')
beginifFile.stat(file+'.rb')
requirefileendrescue# just ignore the errorsendend