Skip to content

Commit 38abb81

Browse files
committed
Add 'bad' update to test actions
1 parent fcdd6ab commit 38abb81

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525

2626
test:
2727

28+
needs: lint
29+
2830
name: Test on Python ${{ matrix.python-version }}
2931
runs-on: ubuntu-latest
3032
strategy:

tests/test_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def test_update_category(self, discourse_client, requests_mock):
202202
request = requests_mock.put(
203203
f"{discourse_client.host}/categories/123",
204204
headers={"Content-Type": "application/json; charset=utf-8"},
205-
json={},
205+
json={}
206206
)
207207
discourse_client.update_category(123, a="a", b="b")
208208

0 commit comments

Comments
 (0)