示例#1
0
 def test_10(self):
     self.assertEqual(expand_value(extract("w"), {}), "[100%]")
示例#2
0
 def test_11(self):
     self.assertEqual(expand_value(extract("c#")), "#")
示例#3
0
 def test_7(self):
     self.assertEqual(expand_value(extract("w10perc"), self.opts), "10%")
示例#4
0
 def test_8(self):
     self.assertEqual(expand_value(extract("vat")), "top")
示例#5
0
 def test_6(self):
     self.assertEqual(expand_value(extract("w10%")), "10%")
示例#6
0
 def test_5(self):
     self.assertEqual(expand_value(extract("w"), self.opts), "[100%]")
示例#7
0
 def test_4(self):
     self.assertEqual(expand_value(extract("w0px"), self.opts), "0")
示例#8
0
 def test_1(self):
     self.assertEqual(expand_value(extract("zi12"), self.opts), "12")
示例#9
0
 def test_0(self):
     self.assertEqual(expand_value(extract("z8"), self.opts), "8")