예제 #1
0
def is_backlog(current_block_id: str) -> bool:
    return storage.does_superkey_exist(
        f"BROADCAST/TO_BROADCAST/{current_block_id}/")
예제 #2
0
 def test_does_superkey_exist_calls_storage_does_superkey_exist_with_params(
         self):
     storage.does_superkey_exist("prefix")
     storage.storage.does_superkey_exist.assert_called_once_with(
         "test", "prefix")