def test2_empty_lines(self): conf = """ config setup nat_traversal=yes strictcrlpolicy=yes """ self.assertEqual( dumps(loads(conf), indent=' '), """\ config setup nat_traversal=yes strictcrlpolicy=yes """)
def test2_empty_lines(self): conf = """ config setup nat_traversal=yes strictcrlpolicy=yes """ self.assertEqual( dumps(loads(conf), indent = ' '), """\ config setup nat_traversal=yes strictcrlpolicy=yes """ )
def test1(self): self.assertEqual(dumps(loads(self.strongswan_in), indent=' '), self.strongswan_out)
def test1(self): self.assertEqual( dumps(loads(self.strongswan_in), indent = ' '), self.strongswan_out )