def test_2(self): d = comments.process_comment("lajkse[V]:19") self.assertEqual(d["lajkse"], 19) self.assertEqual(d["lajkse"].unit, "V")
def test_1(self): self.assertEqual(comments.process_comment("lajkse"), {})