Exemple #1
0
 def test_wrong_message_type(self):
     H = normal_h1()
     message = write(H)
     with pytest.raises(AttributeError):
         collection2 = read_many(message)
Exemple #2
0
 def test_h2(self):
     H = normal_h2()
     message = write(H)
     H_ = read(message)
     assert H_ == H