whitespace cleanups
This commit is contained in:
parent
2d785404ed
commit
536be15a87
@ -1,4 +1,3 @@
|
||||
|
||||
import prettytable
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
from novaclient import base
|
||||
from novaclient.v1_0 import base as local_base
|
||||
|
||||
|
@ -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):
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import mock
|
||||
|
||||
from novaclient import base
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import httplib2
|
||||
import mock
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import os
|
||||
import mock
|
||||
import httplib2
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import StringIO
|
||||
|
||||
from tests.v1_0 import fakes
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import httplib2
|
||||
import mock
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
from novaclient.v1_0 import backup_schedules
|
||||
from tests.v1_0 import fakes
|
||||
from tests import utils
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
from novaclient import exceptions
|
||||
from novaclient.v1_0 import flavors
|
||||
from tests.v1_0 import fakes
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
from novaclient.v1_0 import images
|
||||
from tests.v1_0 import fakes
|
||||
from tests import utils
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
from novaclient.v1_0 import ipgroups
|
||||
from tests.v1_0 import fakes
|
||||
from tests import utils
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import StringIO
|
||||
|
||||
from novaclient.v1_0 import servers
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import os
|
||||
import mock
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
from novaclient import exceptions
|
||||
from novaclient.v1_1 import flavors
|
||||
from tests.v1_1 import fakes
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
from novaclient.v1_1 import images
|
||||
from tests.v1_1 import fakes
|
||||
from tests import utils
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import StringIO
|
||||
|
||||
from novaclient.v1_1 import servers
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import os
|
||||
import mock
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
import StringIO
|
||||
|
||||
from novaclient.v1_1 import zones
|
||||
|
Loading…
Reference in New Issue
Block a user