From 58e636dc1770d8fd02e828a79966b9e5b6e51845 Mon Sep 17 00:00:00 2001 From: Javier de la Puente Date: Mon, 25 Mar 2024 09:51:36 +0100 Subject: [PATCH] Fix linting complaints --- tests/integration/test_discourse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_discourse.py b/tests/integration/test_discourse.py index 67938bf0..eb2f5140 100644 --- a/tests/integration/test_discourse.py +++ b/tests/integration/test_discourse.py @@ -327,6 +327,6 @@ async def test_read_write_permission( assert alternate_user_discourse.check_topic_read_permission( url=url ), "alternate user could not read topic another user created" - assert ( - alternate_user_discourse.check_topic_write_permission(url=url) is False + assert not alternate_user_discourse.check_topic_write_permission( + url=url ), "user could write topic another user created"