whitespace cleanups

This commit is contained in:
termie 2011-08-08 13:20:44 -07:00
parent 2d785404ed
commit 536be15a87
23 changed files with 31 additions and 50 deletions

View File

@ -1,4 +1,3 @@
import prettytable

View File

@ -1,4 +1,3 @@
from novaclient import base
from novaclient.v1_0 import base as local_base

View File

@ -2,8 +2,8 @@
A fake server that "responds" to API methods with pre-canned responses.
All of these responses come from the spec, so if for some reason the spec's
wrong the tests might raise AssertionError. I've indicated in comments the
places where actual behavior differs from the spec.
wrong the tests might raise AssertionError. I've indicated in comments the places where actual
behavior differs from the spec.
"""
import novaclient.client
@ -17,8 +17,7 @@ def assert_has_keys(dict, required=[], optional=[]):
except AssertionError:
allowed_keys = set(required) | set(optional)
extra_keys = set(keys).difference(set(required + optional))
raise AssertionError("found unexpected keys: %s" %
list(extra_keys))
raise AssertionError("found unexpected keys: %s" % list(extra_keys))
class FakeClient(object):

View File

@ -1,4 +1,3 @@
import mock
from novaclient import base

View File

@ -1,4 +1,3 @@
import httplib2
import mock

View File

@ -1,4 +1,3 @@
import os
import mock
import httplib2

View File

@ -1,4 +1,3 @@
import StringIO
from tests.v1_0 import fakes

View File

@ -1,4 +1,3 @@
import httplib2
import mock

View File

@ -1,4 +1,3 @@
from novaclient.v1_0 import backup_schedules
from tests.v1_0 import fakes
from tests import utils

View File

@ -1,4 +1,3 @@
from novaclient import exceptions
from novaclient.v1_0 import flavors
from tests.v1_0 import fakes

View File

@ -1,4 +1,3 @@
from novaclient.v1_0 import images
from tests.v1_0 import fakes
from tests import utils

View File

@ -1,4 +1,3 @@
from novaclient.v1_0 import ipgroups
from tests.v1_0 import fakes
from tests import utils

View File

@ -1,4 +1,3 @@
import StringIO
from novaclient.v1_0 import servers

View File

@ -1,4 +1,3 @@
import os
import mock

View File

@ -1,4 +1,3 @@
from novaclient import exceptions
from novaclient.v1_1 import flavors
from tests.v1_1 import fakes

View File

@ -1,4 +1,3 @@
from novaclient.v1_1 import images
from tests.v1_1 import fakes
from tests import utils

View File

@ -1,4 +1,3 @@
import StringIO
from novaclient.v1_1 import servers

View File

@ -1,4 +1,3 @@
import os
import mock

View File

@ -1,4 +1,3 @@
import StringIO
from novaclient.v1_1 import zones