def authorize_account(self, realm_url, account_id, application_key):
        assert realm_url == 'http://production.example.com'
        if application_key != 'good-app-key':
            raise InvalidAuthToken(
                (application_key,) % 'invalid application key: %s', 'bad_auth_token'
            )
        self.authorized_accounts.add(account_id)
        return dict(
            accountId=account_id,
            authorizationToken='AUTH:' + account_id,
            apiUrl=self.API_URL,
            downloadUrl=self.DOWNLOAD_URL,
            minimumPartSize=self.MIN_PART_SIZE
        )  # yapf: disable
dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/b2/raw_simulator.py/RawSimulator.authorize_account/swapped operands of `%`