test_non_ascii_paste_text: mock call to urlopen
Likely to fix flaky coverage due to requests failing sometimes.
Ref: f7e81dab9a...83a1f4bd66
/changes
This commit is contained in:
parent
a77c83a4c3
commit
0db9dade65
|
@ -55,7 +55,7 @@ class TestPasteCapture:
|
|||
]
|
||||
)
|
||||
|
||||
def test_non_ascii_paste_text(self, testdir):
|
||||
def test_non_ascii_paste_text(self, testdir, pastebinlist):
|
||||
"""Make sure that text which contains non-ascii characters is pasted
|
||||
correctly. See #1219.
|
||||
"""
|
||||
|
@ -74,6 +74,7 @@ class TestPasteCapture:
|
|||
"*Sending information to Paste Service*",
|
||||
]
|
||||
)
|
||||
assert len(pastebinlist) == 1
|
||||
|
||||
|
||||
class TestPaste:
|
||||
|
|
Loading…
Reference in New Issue