You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/05/06 20:27:04 UTC

svn commit: r941848 - /incubator/libcloud/trunk/test/test_voxel.py

Author: pquerna
Date: Thu May  6 18:27:03 2010
New Revision: 941848

URL: http://svn.apache.org/viewvc?rev=941848&view=rev
Log:
Fixup Voxel tests based on warnings from pyflakes

Modified:
    incubator/libcloud/trunk/test/test_voxel.py

Modified: incubator/libcloud/trunk/test/test_voxel.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/test_voxel.py?rev=941848&r1=941847&r2=941848&view=diff
==============================================================================
--- incubator/libcloud/trunk/test/test_voxel.py (original)
+++ incubator/libcloud/trunk/test/test_voxel.py Thu May  6 18:27:03 2010
@@ -16,16 +16,14 @@ import sys
 import unittest
 
 from libcloud.drivers.voxel import VoxelNodeDriver as Voxel
-from libcloud.types import Provider, NodeState, InvalidCredsException
-from libcloud.base import Node, NodeImage, NodeSize
+from libcloud.types import InvalidCredsException
 
 import httplib
 
-from test import MockHttp, multipleresponse, TestCaseMixin
+from test import MockHttp
 from test.file_fixtures import FileFixtures
 
 from secrets import VOXEL_KEY, VOXEL_SECRET
-from xml.etree import ElementTree as ET
 
 class VoxelTest(unittest.TestCase):
 
@@ -33,7 +31,7 @@ class VoxelTest(unittest.TestCase):
 
         Voxel.connectionCls.conn_classes = (None, VoxelMockHttp)
         VoxelMockHttp.type = None
-        self.driver = Voxel('foo', 'bar')
+        self.driver = Voxel(VOXEL_KEY, VOXEL_SECRET)
 
     def test_auth_failed(self):
         VoxelMockHttp.type = 'UNAUTHORIZED'