def test_parse_command_and_params(self):
     test_message = "doge param"
     test_commands = self.default_test_command
     command, params = logic.parse_message(test_commands, test_message)
     self.assertEqual("doge_command", command)
     self.assertEqual("param", params)
 def test_parse_nonexistent_command(self):
     test_message = "noone"
     test_commands = self.default_test_command
     command, params = logic.parse_message(test_commands, test_message)
     self.assertEqual(None, command)
     self.assertEqual(None, params)