def test_as_dict(self): Substitutor.from_dict(self.s.as_dict())
def test_to_dict(self): Substitutor.from_dict(self.s.to_dict)