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 22:40:14 UTC
svn commit: r941905 - /incubator/libcloud/trunk/test/test_dreamhost.py
Author: pquerna
Date: Thu May 6 20:40:14 2010
New Revision: 941905
URL: http://svn.apache.org/viewvc?rev=941905&view=rev
Log:
cleanup pyflakes import warnings
Modified:
incubator/libcloud/trunk/test/test_dreamhost.py
Modified: incubator/libcloud/trunk/test/test_dreamhost.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/test_dreamhost.py?rev=941905&r1=941904&r2=941905&view=diff
==============================================================================
--- incubator/libcloud/trunk/test/test_dreamhost.py (original)
+++ incubator/libcloud/trunk/test/test_dreamhost.py Thu May 6 20:40:14 2010
@@ -16,15 +16,14 @@ import sys
import unittest
from libcloud.drivers.dreamhost import DreamhostNodeDriver
-from libcloud.types import Provider, NodeState, InvalidCredsException
-from libcloud.base import Node, NodeImage, NodeSize
+from libcloud.types import NodeState, InvalidCredsException
import httplib
try: import json
except: import simplejson as json
-from test import MockHttp, multipleresponse, TestCaseMixin
+from test import MockHttp, TestCaseMixin
from secrets import DREAMHOST_KEY
#class DreamhostTest(unittest.TestCase, TestCaseMixin):
@@ -37,7 +36,7 @@ class DreamhostTest(unittest.TestCase, T
)
DreamhostMockHttp.type = None
DreamhostMockHttp.use_param = 'cmd'
- self.driver = DreamhostNodeDriver('foo')
+ self.driver = DreamhostNodeDriver(DREAMHOST_KEY)
def test_invalid_creds(self):
"""