Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #999 from zenhack/remove-pointless-test
Browse files Browse the repository at this point in the history
Remove pointless test.
  • Loading branch information
naved001 committed Apr 20, 2018
2 parents 5c45989 + 322e98d commit deed85e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/unit/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,15 +273,6 @@ def populate_server():
class Test_ClientBase:
"""Tests client initialization and object_url creation. """

def test_init_error(self):
"""Test that we get a TypeError given bad arguments to ClientBase()"""
# XXX: I(zenhack) think this test is of dubious utility; At some point
# during review, Sahil had some explicit logic to throw this error, but
# we got rid of that. Arguably we should remove this, but I want to do
# so in a separate patch, so just noting it now.
with pytest.raises(TypeError):
ClientBase()

def test_object_url(self):
"""Test the object_url method."""
x = ClientBase(ep, 'some_base64_string')
Expand Down

0 comments on commit deed85e

Please sign in to comment.