Skip to content

Commit e6b69b2

Browse files
authored
Merge branch 'master' into allow-to-skip-signature-verification
2 parents ddbbd44 + e98fa7d commit e6b69b2

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

generator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<plugin>
1212
<groupId>org.apache.maven.plugins</groupId>
1313
<artifactId>maven-enforcer-plugin</artifactId>
14-
<version>3.5.0</version>
14+
<version>3.6.0</version>
1515
<executions>
1616
<execution>
1717
<id>enforce-maven</id>
@@ -125,7 +125,7 @@
125125
</dependencies>
126126
<properties>
127127
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
128-
<openapi-generator-version>7.13.0</openapi-generator-version>
128+
<openapi-generator-version>7.14.0</openapi-generator-version>
129129
<maven-plugin-version>1.0.0</maven-plugin-version>
130130
<junit-version>4.13.2</junit-version>
131131
</properties>

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-r requirements.txt
22
-r requirements-test.txt
3-
tox==4.26.0
3+
tox==4.27.0
44
wheel==0.46.1
55
Sphinx==7.4.7
66
sphinx-rtd-theme==3.0.2

requirements-test.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
pytest==8.3.5
1+
pytest==8.4.1
22
pytest-pep8==1.0.6
3-
pytest-cov==6.1.1
3+
pytest-cov==6.2.1
44
pytest-aiohttp==1.1.0
5+
pytest-asyncio==1.0.0
56
responses==0.25.7
67
pytest_httpserver >= 1.1.2

tests/async_api/test_get_message_content.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15+
import pytest
16+
1517
from aiohttp import web
1618

1719
from linebot import (
@@ -20,6 +22,7 @@
2022
from linebot.aiohttp_async_http_client import AiohttpAsyncHttpClient
2123

2224

25+
@pytest.mark.asyncio
2326
async def test_get(aiohttp_client):
2427
msg = ''.join('Hello, world' for i in range(1000))
2528

tests/async_api/test_get_profile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15+
import pytest
16+
1517
from aiohttp import web
1618

1719
from linebot import (
@@ -20,6 +22,7 @@
2022
from linebot.aiohttp_async_http_client import AiohttpAsyncHttpClient
2123

2224

25+
@pytest.mark.asyncio
2326
async def test_async_profile(aiohttp_client):
2427
expect = {
2528
'displayName': 'test',

tests/test_aiohttp_async_http_client.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15+
import pytest
1516
from aiohttp import web
1617

1718
from linebot.aiohttp_async_http_client import AiohttpAsyncHttpClient
1819

1920

21+
@pytest.mark.asyncio
2022
async def test_get(aiohttp_client):
2123
async def hello(request):
2224
return web.Response(text='Hello, world')
@@ -31,6 +33,7 @@ async def hello(request):
3133
assert 'Hello, world' in text
3234

3335

36+
@pytest.mark.asyncio
3437
async def test_get_json(aiohttp_client):
3538
async def hello(request):
3639
return web.json_response({'test': 'Hello, world'})
@@ -44,6 +47,7 @@ async def hello(request):
4447
assert 'Hello, world' == json['test']
4548

4649

50+
@pytest.mark.asyncio
4751
async def test_get_iter(aiohttp_client):
4852
async def hello(request):
4953
return web.Response(text='Hello, world')
@@ -61,6 +65,7 @@ async def hello(request):
6165
assert 'Hello, world' in buffer
6266

6367

68+
@pytest.mark.asyncio
6469
async def test_post(aiohttp_client):
6570
async def hello(request):
6671
return web.Response(text='Hello, world')
@@ -75,6 +80,7 @@ async def hello(request):
7580
assert 'Hello, world' in text
7681

7782

83+
@pytest.mark.asyncio
7884
async def test_delete(aiohttp_client):
7985
async def hello(request):
8086
return web.Response(text='Hello, world')
@@ -89,6 +95,7 @@ async def hello(request):
8995
assert 'Hello, world' in text
9096

9197

98+
@pytest.mark.asyncio
9299
async def test_put(aiohttp_client):
93100
async def hello(request):
94101
return web.Response(text='Hello, world')

0 commit comments

Comments
 (0)