parent
b32223acc7
commit
7186dcb98f
@ -230,8 +230,7 @@ class _CrashDialog(QDialog):
|
||||
def _init_info_text(self):
|
||||
"""Add an info text encouraging the user to report crashes."""
|
||||
info_label = QLabel("<br/><b>Note that without your help, I can't fix "
|
||||
"the bug you encountered.<br/> Crash reports are "
|
||||
"currently publicly accessible.</b>",
|
||||
"the bug you encountered.</b>",
|
||||
wordWrap=True)
|
||||
self._vbox.addWidget(info_label)
|
||||
|
||||
|
@ -26,7 +26,7 @@ from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, QUrl
|
||||
|
||||
class PastebinClient(QObject):
|
||||
|
||||
"""A client for http://p.cmpl.cc/ using HTTPClient.
|
||||
"""A client for Stikked pastebins using HTTPClient.
|
||||
|
||||
Attributes:
|
||||
_client: The HTTPClient used.
|
||||
@ -41,7 +41,7 @@ class PastebinClient(QObject):
|
||||
arg: The error message, as string.
|
||||
"""
|
||||
|
||||
API_URL = 'http://paste.the-compiler.org/api/'
|
||||
API_URL = 'https://crashes.qutebrowser.org/api/'
|
||||
success = pyqtSignal(str)
|
||||
error = pyqtSignal(str)
|
||||
|
||||
|
@ -77,7 +77,7 @@ def test_paste_with_parent(data, pbclient):
|
||||
http_stub = pbclient._client
|
||||
pbclient.paste(data["name"], data["title"], data["text"], data["reply"])
|
||||
assert http_stub.data == data
|
||||
assert http_stub.url == QUrl('http://paste.the-compiler.org/api/create')
|
||||
assert http_stub.url == QUrl('https://crashes.qutebrowser.org/api/create')
|
||||
|
||||
|
||||
@pytest.mark.parametrize('data', [
|
||||
@ -98,7 +98,7 @@ def test_paste_without_parent(data, pbclient):
|
||||
http_stub = pbclient._client
|
||||
pbclient.paste(data["name"], data["title"], data["text"])
|
||||
assert pbclient._client.data == data
|
||||
assert http_stub.url == QUrl('http://paste.the-compiler.org/api/create')
|
||||
assert http_stub.url == QUrl('https://crashes.qutebrowser.org/api/create')
|
||||
|
||||
|
||||
@pytest.mark.parametrize('http', [
|
||||
|
Loading…
Reference in New Issue
Block a user