Skip to content

Commit dd22bb5

Browse files
committed
Fix KW URL test expectation
1 parent d889dcd commit dd22bb5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

kano_feedback/FeedbackWindow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,6 @@ def _pii_allowed(self):
446446
screenshots, images.
447447
"""
448448
return (
449-
self.kano_world_client.is_logged_in() and
450-
self.kano_world_client.get_account_verified()
449+
self.kano_world_client.is_logged_in()
450+
and self.kano_world_client.get_account_verified()
451451
)

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ flake8-ignore =
77
E402 # Module level import not at top of file
88
E501 # Line Too Long
99
E722 # Do not use bare except
10+
W503 # W504 is to be used and they conflict with each other
1011
features/* ALL
1112
tests/* ALL
1213
tools/* ALL

tests/test_data_sender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_send_data(mocker, requests_mock, console_mode, monkeypatch, stub):
6969
# Fake the API, in the future we might want to actually test the data
7070
# sent
7171
post_mock = requests_mock.post(
72-
'https://api.kano.me/feedback',
72+
'https://worldapi.kes.kano.me/feedback',
7373
json={'result': 200}
7474
)
7575

0 commit comments

Comments
 (0)