# evennia.contrib.base_systems.unixcommand.tests

Test of the Unixcommand.

class `evennia.contrib.base_systems.unixcommand.tests.``CmdDummy`(**kwargs)

  Bases: `evennia.contrib.base_systems.unixcommand.unixcommand.UnixCommand`

  A dummy UnixCommand.

  `key` = 'dummy'
  `init_parser`()

    Fill out options.

  `func`()

    Override to handle the command execution.

  `aliases` = []
  `help_category` = 'general'
  `lock_storage` = 'cmd:all();'
  `search_index_entry` = {'aliases': '', 'category': 'general', 'key': 'dummy', 'no_prefix': ' ', 'tags': '', 'text': 'A dummy UnixCommand.'}

class `evennia.contrib.base_systems.unixcommand.tests.``TestUnixCommand`(methodName='runTest')

  Bases: `evennia.utils.test_resources.BaseEvenniaCommandTest`

  `test_success`()

    See the command parsing succeed.

  `test_failure`()

    If not provided with the right info, should fail.