From d1f9acd3859b7e40494bd619ab2e1c52dd72379c Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Mon, 16 Oct 2017 23:45:38 +0200 Subject: Remove None initializer support (#91) * `None` legacy initializer support removed * Default value for `Null` removed --- tests/codec/ber/test_encoder.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/codec/ber') diff --git a/tests/codec/ber/test_encoder.py b/tests/codec/ber/test_encoder.py index ba91919..f87843c 100644 --- a/tests/codec/ber/test_encoder.py +++ b/tests/codec/ber/test_encoder.py @@ -746,11 +746,11 @@ class SequenceEncoderWithComponentsSchemaTestCase(BaseTestCase): def __init(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') def __initWithOptional(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') self.s.setComponentByPosition(1, 'quick brown') def __initWithDefaulted(self): @@ -991,11 +991,11 @@ class SetEncoderWithComponentsSchemaTestCase(BaseTestCase): def __init(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') def __initWithOptional(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') self.s.setComponentByPosition(1, 'quick brown') def __initWithDefaulted(self): -- cgit v1.2.3