Minor code cleanups
This commit is contained in:
@@ -286,6 +286,6 @@ class XenAPIDiffieHellmanTestCase(test.TestCase):
|
|||||||
enc = self.alice.encrypt(msg)
|
enc = self.alice.encrypt(msg)
|
||||||
dec = self.bob.decrypt(enc)
|
dec = self.bob.decrypt(enc)
|
||||||
self.assertEquals(dec, msg)
|
self.assertEquals(dec, msg)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
super(XenAPIDiffieHellmanTestCase, self).tearDown()
|
super(XenAPIDiffieHellmanTestCase, self).tearDown()
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ Management class for VM-related functions (spawn, reboot, etc).
|
|||||||
import json
|
import json
|
||||||
import M2Crypto
|
import M2Crypto
|
||||||
import os
|
import os
|
||||||
|
import random
|
||||||
import subprocess
|
import subprocess
|
||||||
import tempfile
|
import tempfile
|
||||||
import uuid
|
import uuid
|
||||||
|
|||||||
Reference in New Issue
Block a user