From 7047c921a417052bceb7199ff78d11138e4da9e1 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Fri, 28 Jan 2022 18:42:09 -0800 Subject: [PATCH] Add a test case to torture.py --- tests/data/torture.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/data/torture.py b/tests/data/torture.py index 7cabd4c163f..2a194759a82 100644 --- a/tests/data/torture.py +++ b/tests/data/torture.py @@ -22,6 +22,12 @@ def test(self, othr): (name, description, self.default, self.selected, self.auto_generated, self.parameters, self.meta_data, self.schedule) == (name, description, othr.default, othr.selected, othr.auto_generated, othr.parameters, othr.meta_data, othr.schedule)) + +assert ( + a_function(very_long_arguments_that_surpass_the_limit, which_is_eighty_eight_in_this_case_plus_a_bit_more) + == {"x": "this need to pass the line limit as well", "b": "but only by a little bit"} +) + # output importA @@ -76,3 +82,10 @@ def test(self, othr): othr.meta_data, othr.schedule, ) + + +assert a_function( + very_long_arguments_that_surpass_the_limit, + which_is_eighty_eight_in_this_case_plus_a_bit_more, +) == {"x": "this need to pass the line limit as well", "b": "but only by a little bit"} +