From 2a8ccb065bcabafcd8c4e8303c6ed3f6d7a98e09 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 21 Apr 2021 11:32:00 -0400 Subject: [PATCH] StreamCommands --- tests/integration/blockchain/test_claim_commands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/blockchain/test_claim_commands.py b/tests/integration/blockchain/test_claim_commands.py index c90923be6..bed7d5ff4 100644 --- a/tests/integration/blockchain/test_claim_commands.py +++ b/tests/integration/blockchain/test_claim_commands.py @@ -1430,7 +1430,7 @@ class StreamCommands(ClaimTestCase): self.assertEqual(1, blocked['total']) self.assertEqual(1, len(blocked['channels'])) self.assertEqual(1, blocked['channels'][0]['blocked']) - self.assertTrue(blocked['channels'][0]['channel']['short_url'].startswith('lbry://@filtering#')) + self.assertTrue(blocked['channels'][0]['channel']['short_url'].startswith('lbry://@filtering:')) # same search, but details omitted by 'no_totals' last_result = result @@ -1444,7 +1444,7 @@ class StreamCommands(ClaimTestCase): self.assertEqual(1, filtered['total']) self.assertEqual(1, len(filtered['channels'])) self.assertEqual(1, filtered['channels'][0]['blocked']) - self.assertTrue(filtered['channels'][0]['channel']['short_url'].startswith('lbry://@filtering#')) + self.assertTrue(filtered['channels'][0]['channel']['short_url'].startswith('lbry://@filtering:')) # same search, but details omitted by 'no_totals' last_result = result @@ -1474,7 +1474,7 @@ class StreamCommands(ClaimTestCase): error = (await self.resolve('lbry://@some_channel/bad_content'))['error'] self.assertEqual(error['name'], 'BLOCKED') self.assertTrue(error['text'].startswith("Resolve of 'lbry://@some_channel/bad_content' was censored")) - self.assertTrue(error['censor']['short_url'].startswith('lbry://@blocking#')) + self.assertTrue(error['censor']['short_url'].startswith('lbry://@blocking:')) # a filtered/blocked channel impacts all content inside it bad_channel_id = self.get_claim_id( @@ -1502,7 +1502,7 @@ class StreamCommands(ClaimTestCase): self.assertEqual(3, filtered['total']) self.assertEqual(1, len(filtered['channels'])) self.assertEqual(3, filtered['channels'][0]['blocked']) - self.assertTrue(filtered['channels'][0]['channel']['short_url'].startswith('lbry://@filtering#')) + self.assertTrue(filtered['channels'][0]['channel']['short_url'].startswith('lbry://@filtering:')) # same search, but details omitted by 'no_totals' last_result = result