예제 #1
0
 def test_random_uuid2(self):
     self.assertEqual(len(random_uuid(uuid_length=36)), 36)
예제 #2
0
 def test_random_uuid(self):
     self.assertEqual(len(random_uuid()), UUID_LENGTH)
     self.assertEqual(len(random_uuid(5)), 5)
     self.assertEqual(random_uuid(9)[-1], '-')