Ejemplo n.º 1
0
 def test_strtag_str(self):
     self.assertEqual('  0\nSECTION\n', strtag((0, 'SECTION')))
Ejemplo n.º 2
0
 def test_strtag_float(self):
     self.assertEqual(' 10\n3.1415\n', strtag((10, 3.1415)))
Ejemplo n.º 3
0
 def test_strtag_int(self):
     self.assertEqual('  1\n1\n', strtag((1, 1)))
Ejemplo n.º 4
0
 def test_strtag_str(self):
     self.assertEqual('  0\nSECTION\n', strtag((0, 'SECTION')))
Ejemplo n.º 5
0
 def test_strtag_float(self):
     self.assertEqual(' 10\n3.1415\n', strtag((10, 3.1415)))
Ejemplo n.º 6
0
 def test_strtag_int(self):
     self.assertEqual('  1\n1\n', strtag((1, 1)))