try making it frozen instead of fiddling with cmp

This commit is contained in:
Jean-Paul Calderone 2019-12-18 15:23:07 -05:00
parent 78aa51d718
commit ae2abd1b2e

View File

@ -104,10 +104,9 @@ class GetCounter(Resource, object):
@implementer(RIDummy)
@attr.s(cmp=True, hash=True)
@attr.s(frozen=True)
class DummyStorageServer(object):
# TODO Requirement of some interface that instances be hashable
get_anonymous_storage_server = attr.ib(cmp=False)
get_anonymous_storage_server = attr.ib()
def remote_just_some_method(self):
pass