summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-06-17 13:47:28 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-06-17 13:47:28 -0500
commit749eac4d36ff2f7a855044d677f3cde07451f32a (patch)
treeecf74cb3b1580dfd00b3f9163a6b489188c323fb /nova/tests
parentc3300c29277423c28c5403d23b4a7f0a960f429d (diff)
bunch of docstring changes
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/db/fakes.py4
-rw-r--r--nova/tests/test_iptables_network.py4
2 files changed, 2 insertions, 6 deletions
diff --git a/nova/tests/db/fakes.py b/nova/tests/db/fakes.py
index 525f720a5..ba1e99755 100644
--- a/nova/tests/db/fakes.py
+++ b/nova/tests/db/fakes.py
@@ -44,9 +44,7 @@ class FakeModel(object):
def stub_out(stubs, funcs):
- """
- Set the stubs in mapping in the db api
- """
+ """Set the stubs in mapping in the db api."""
for func in funcs:
func_name = '_'.join(func.__name__.split('_')[1:])
stubs.Set(db, func_name, func)
diff --git a/nova/tests/test_iptables_network.py b/nova/tests/test_iptables_network.py
index 77f6aaff3..29b09ade2 100644
--- a/nova/tests/test_iptables_network.py
+++ b/nova/tests/test_iptables_network.py
@@ -15,9 +15,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
-"""
-Unit Tests for network code
-"""
+"""Unit Tests for network code."""
import IPy
import os