Update test

This commit is contained in:
Henddher Pedroza 2018-10-30 20:10:36 -05:00
parent 979d24a12f
commit cd9a91c377

View file

@ -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), '<UNKNOWN>')
self.assertRaises(ValueError, protlib.protfunc_parser, "$dbref(Char)")
mocked__obj_search.assert_not_called()