Switched from Travis-CI to GHA (#702)

This commit is contained in:
Andreas Motl
2022-10-18 13:18:50 +02:00
committed by GitHub
parent e8844c57ab
commit 7c993fb7f6
3 changed files with 135 additions and 0 deletions

View File

@ -24,6 +24,7 @@
# THE SOFTWARE.
import os
import sys
from unittest import mock
import pytest
@ -418,6 +419,9 @@ def test_plugin_twitter_edge_cases():
targets='%G@rB@g3')
@pytest.mark.skipif(
hasattr(sys, "pypy_version_info") and sys.version_info < (3, 7),
reason="Does not work or is flaky on PyPy 3.6")
@mock.patch('requests.post')
@mock.patch('requests.get')
def test_plugin_twitter_dm_attachments(mock_get, mock_post):