# evennia.contrib.tutorials.bodyfunctions.tests

Tests for the bodyfunctions.

class `evennia.contrib.tutorials.bodyfunctions.tests.``TestBodyFunctions`(methodName='runTest')

  Bases: `evennia.utils.test_resources.BaseEvenniaTest`

  `script_typeclass`

    alias of `evennia.contrib.tutorials.bodyfunctions.bodyfunctions.BodyFunctions`

  `setUp`()

    Sets up testing environment

  `tearDown`()

    Hook method for deconstructing the test fixture after testing it.

  `test_at_repeat`(mock_random)

    test that no message will be sent when below the 66% threshold

  `test_send_random_message`(mock_random)

    Test that correct message is sent for each random value