Skip to content

Commit

Permalink
Convert docstring to a comment in test_denied_DELETE_of_versioned_obj…
Browse files Browse the repository at this point in the history
…ect unit test.

Docstrings cause issues for nose and created non standard test output for this test.

Change-Id: I91e6450480567de0ee0b18d3efae01a4b94f0a86
  • Loading branch information
Brian Reitz committed Aug 3, 2015
1 parent 5a04412 commit 310ac18
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/unit/proxy/test_server.py
Expand Up @@ -2811,10 +2811,9 @@ def fake_authorize(req):
StoragePolicy(1, 'one', True, object_ring=FakeRing())
])
def test_denied_DELETE_of_versioned_object(self):
"""
Verify that a request with read access to a versions container
is unable to cause any write operations on the versioned container.
"""
# Verify that a request with read access to a versions container
# is unable to cause any write operations on the versioned container.

# reset the router post patch_policies
self.app.obj_controller_router = proxy_server.ObjectControllerRouter()
methods = set()
Expand Down

0 comments on commit 310ac18

Please sign in to comment.