Exemplo n.º 1
0
 def test_generate_transaction_id_unique(self):
     transaction_id1 = stun.generate_transaction_id()
     transaction_id2 = stun.generate_transaction_id()
     self.assertNotEqual(transaction_id1, transaction_id2)
Exemplo n.º 2
0
 def test_generate_transaction_id_unique(self):
     transaction_id1 = stun.generate_transaction_id()
     transaction_id2 = stun.generate_transaction_id()
     self.assertNotEqual(transaction_id1, transaction_id2)
Exemplo n.º 3
0
 def test_generate_transaction_id_length(self):
     transaction_id = stun.generate_transaction_id()
     self.assertEquals(12, len(transaction_id))
Exemplo n.º 4
0
 def test_generate_transaction_id_length(self):
     transaction_id = stun.generate_transaction_id()
     self.assertEquals(12, len(transaction_id))