From e5c169ddf8ddf23fa14e9ef6e19c49fc80592206 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 24 Oct 2019 16:48:00 -0400 Subject: [PATCH] minor fixup --- lbry/lbry/schema/base.py | 4 ++-- lbry/tests/integration/test_claim_commands.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lbry/lbry/schema/base.py b/lbry/lbry/schema/base.py index a60f017cb..6e9bab4e3 100644 --- a/lbry/lbry/schema/base.py +++ b/lbry/lbry/schema/base.py @@ -120,5 +120,5 @@ class BaseMessageList(Metadata, Generic[I]): def __delitem__(self, key): del self._message[key] - def __eq__(self, values: List[str]) -> bool: - return self._message == values + def __eq__(self, other) -> bool: + return self._message == other diff --git a/lbry/tests/integration/test_claim_commands.py b/lbry/tests/integration/test_claim_commands.py index bcc79ed41..2a0e05736 100644 --- a/lbry/tests/integration/test_claim_commands.py +++ b/lbry/tests/integration/test_claim_commands.py @@ -537,6 +537,7 @@ class ChannelCommands(CommandTestCase): tx4 = await self.channel_update(claim_id, tags=[' pqr', 'PQr '], clear_tags=True) self.assertEqual(tx4['outputs'][0]['value']['tags'], ['pqr']) + class StreamCommands(ClaimTestCase): async def test_create_stream_names(self):