# evennia.web.api.tests

Tests for the REST API.

class `evennia.web.api.tests.``TestEvenniaRESTApi`(methodName='runTest')

  Bases: `evennia.utils.test_resources.BaseEvenniaTest`

  `client_class`

    alias of `rest_framework.test.APIClient`

  `maxDiff` = None
  `setUp`()

    Sets up testing environment

  `tearDown`()

    Hook method for deconstructing the test fixture after testing it.

  `get_view_details`(action)

    Helper function for generating list of named tuples

  `test_retrieve`()
  `test_update`()
  `test_delete`()
  `test_list`()
  `test_create`()
  `test_set_attribute`()