Skip to content

Commit

Permalink
Tests fixes + last updates (#1228)
Browse files Browse the repository at this point in the history
* Some sites fixed & cloudflare detection

* Fixed issue with tests

* Updates GitHub test workflow and sites data
  • Loading branch information
soxoj authored Oct 15, 2023
1 parent 726380e commit 83d5740
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 5 additions & 2 deletions maigret/resources/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -3616,11 +3616,14 @@
"movies",
"us"
],
"headers": {
"'User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0"
},
"checkType": "status_code",
"alexaRank": 364,
"urlMain": "https://www.crunchyroll.com/",
"url": "https://www.crunchyroll.com/user/{username}",
"usernameClaimed": "blue",
"usernameClaimed": "adan",
"usernameUnclaimed": "noonewouldeverusethis7"
},
"CryptomatorForum": {
Expand Down Expand Up @@ -17161,7 +17164,7 @@
"video"
],
"headers": {
"Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2OTQyODI1ODAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.dIKSNMvYu7qcZ0Q7o9j5XaQH8iNWa-7X5wi2qQofoRo"
"Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2OTUxNjg3ODAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.WjozUble_6hWPVxipg4ub9pnCILTh5mTDUMV3806oSM"
},
"activation": {
"url": "https://vimeo.com/_rv/viewer",
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ pytest==7.2.0
pytest-asyncio==0.16.0;python_version<"3.7"
pytest-asyncio==0.20.1;python_version>="3.7"
pytest-cov==4.0.0
pytest-httpserver==1.0.6
pytest-httpserver~=1.0.8
pytest-rerunfailures==10.2

0 comments on commit 83d5740

Please sign in to comment.