def test_tagComposition_000(self) :
     result = mod.randomTag(10)
     check = [x in self.allowedChar for x in result]
     self.assertTrue(all(check))
 def test_tagLength_001(self) :
     result = mod.randomTag(10)
     self.assertEqual(len(result), 10)
 def test_tagLength_zero(self) :
     result = mod.randomTag(0)
     self.assertEqual(result, "")
 def test_tagLength_000(self) :
     result = mod.randomTag(6)
     self.assertEqual(len(result), 6)