summaryrefslogtreecommitdiff
path: root/pylint/test/unittest_checker_misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/unittest_checker_misc.py')
-rw-r--r--pylint/test/unittest_checker_misc.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/pylint/test/unittest_checker_misc.py b/pylint/test/unittest_checker_misc.py
index 3dce3d721..3fe49628d 100644
--- a/pylint/test/unittest_checker_misc.py
+++ b/pylint/test/unittest_checker_misc.py
@@ -86,3 +86,18 @@ class TestFixme(CheckerTestCase):
Message(msg_id="fixme", line=1, args="TODO this should not trigger a fixme")
):
self.checker.process_tokens(_tokenize_str(code))
+
+ def test_dont_trigger_on_todoist(self):
+ code = """
+ # Todoist API: What is this task about?
+ # Todoist API: Look up a task's due date
+ # Todoist API: Look up a Project/Label/Task ID
+ # Todoist API: Fetch all labels
+ # Todoist API: "Name" value
+ # Todoist API: Get a task's priority
+ # Todoist API: Look up the Project ID a Task belongs to
+ # Todoist API: Fetch all Projects
+ # Todoist API: Fetch all Tasks
+ """
+ with self.assertNoMessages():
+ self.checker.process_tokens(_tokenize_str(code))