DCCL v5
Loading...
Searching...
No Matches
test_dccl.TestDecodeWithFullNameOmitId Class Reference
Inheritance diagram for test_dccl.TestDecodeWithFullNameOmitId:

Public Member Functions

 setUp (self)
 
 test_encode_omit_id_returns_bytes (self)
 
 test_decode_with_full_name_omit_id_round_trip (self)
 
 test_decode_with_full_name_omit_id_various_values (self)
 
 test_decode_omit_id_raises_without_full_name (self)
 

Public Attributes

 codec
 

Protected Member Functions

 _make_omit_msg (self, d=5.0, i=1)
 

Detailed Description

Tests for decode_with_full_name on a message with omit_id=true.

Definition at line 173 of file test_dccl.py.

Member Function Documentation

◆ _make_omit_msg()

test_dccl.TestDecodeWithFullNameOmitId._make_omit_msg (   self,
  d = 5.0,
  i = 1 
)
protected

Definition at line 179 of file test_dccl.py.

◆ setUp()

test_dccl.TestDecodeWithFullNameOmitId.setUp (   self)

Definition at line 176 of file test_dccl.py.

◆ test_decode_omit_id_raises_without_full_name()

test_dccl.TestDecodeWithFullNameOmitId.test_decode_omit_id_raises_without_full_name (   self)
codec.decode() should raise for an omit_id message because there is
no embedded ID to look up.

Definition at line 211 of file test_dccl.py.

◆ test_decode_with_full_name_omit_id_round_trip()

test_dccl.TestDecodeWithFullNameOmitId.test_decode_with_full_name_omit_id_round_trip (   self)

Definition at line 191 of file test_dccl.py.

◆ test_decode_with_full_name_omit_id_various_values()

test_dccl.TestDecodeWithFullNameOmitId.test_decode_with_full_name_omit_id_various_values (   self)

Definition at line 200 of file test_dccl.py.

◆ test_encode_omit_id_returns_bytes()

test_dccl.TestDecodeWithFullNameOmitId.test_encode_omit_id_returns_bytes (   self)

Definition at line 185 of file test_dccl.py.

Member Data Documentation

◆ codec

test_dccl.TestDecodeWithFullNameOmitId.codec

Definition at line 177 of file test_dccl.py.


The documentation for this class was generated from the following file: