diff --git a/evennia/prototypes/tests.py b/evennia/prototypes/tests.py index 59fb69ca3e..e8ef8a4e6b 100644 --- a/evennia/prototypes/tests.py +++ b/evennia/prototypes/tests.py @@ -387,7 +387,7 @@ class TestProtFuncs(EvenniaTest): mocked__obj_search.assert_not_called() with mock.patch("evennia.prototypes.protfuncs._obj_search", wraps=protofuncs._obj_search) as mocked__obj_search: - # self.assertEqual(protlib.protfunc_parser("$dbref(Char)", session=self.session), '') + self.assertRaises(ValueError, protlib.protfunc_parser, "$dbref(Char)") mocked__obj_search.assert_not_called()