@@ -0,0 +1,913 @@
+import pytest%0Afrom plenum.common.types import Reelection, ClientMessageValidator%0Afrom collections import OrderedDict%0Afrom plenum.common.messages.fields import NonNegativeNumberField, %5C%0A    LedgerIdField, MerkleRootField, IterableField, NonEmptyStringField, %5C%0A    TimestampField, HexField%0A%0AEXPECTED_ORDERED_FIELDS = OrderedDict(%5B%0A    (%22instId%22, NonNegativeNumberField),%0A    (%22round%22, NonNegativeNumberField),%0A    (%22tieAmong%22, IterableField),%0A    (%22viewNo%22, NonNegativeNumberField),%0A%5D)%0A%0A%0Adef test_hash_expected_type():%0A    assert Reelection.typename == %22REELECTION%22%0A%0A%0Adef test_has_expected_fields():%0A    actual_field_names = OrderedDict(Reelection.schema).keys()%0A    assert actual_field_names == EXPECTED_ORDERED_FIELDS.keys()%0A%0A%0Adef test_has_expected_validators():%0A    schema = dict(Reelection.schema)%0A    for field, validator in EXPECTED_ORDERED_FIELDS.items():%0A        assert isinstance(schema%5Bfield%5D, validator)%0A

add test for Reelection message