Пример #1
0
 def test_2(self):
     d = comments.process_comment("lajkse[V]:19")
     self.assertEqual(d["lajkse"], 19)
     self.assertEqual(d["lajkse"].unit, "V")
Пример #2
0
 def test_1(self):
     self.assertEqual(comments.process_comment("lajkse"), {})