aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-12-20 12:39:56 +0800
committerGravatar ionite34 <[email protected]>2022-12-20 12:39:56 +0800
commitd7722b3c335af13d43d3b958c34802d2a98d0279 (patch)
treea2b2cf40f9f0ae6203e4eca70ec6a7b98580036e /tests
parentAdd unit tests for EvalResult.files_error_str (diff)
Rename method get_failed_files_str
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/exts/utils/test_snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/exts/utils/test_snekbox.py b/tests/bot/exts/utils/test_snekbox.py
index 5e13ac4bb..b129bfcdb 100644
--- a/tests/bot/exts/utils/test_snekbox.py
+++ b/tests/bot/exts/utils/test_snekbox.py
@@ -169,7 +169,7 @@ class SnekboxTests(unittest.IsolatedAsyncioTestCase):
]
for failed_files, expected in cases:
result = EvalResult("", 0, [], failed_files)
- msg = result.failed_files_str(char_max=32, file_max=3)
+ msg = result.get_failed_files_str(char_max=32, file_max=3)
self.assertEqual(msg, expected)
@patch('bot.exts.utils.snekbox._eval.Signals', side_effect=ValueError)