Commit graph

58 commits

Author SHA1 Message Date
Griatch
7891987e05 Fix unittests for funcparser refactor 2021-03-26 23:45:38 +01:00
Griatch
73eb9a935d Make FuncParser integrate better with literal_eval by not nesting strings unnecessarily. 2021-03-18 09:39:41 +01:00
Griatch
773bb31f55 Replace inlinefunc parser with FuncParser mostly 2021-03-17 23:44:08 +01:00
Griatch
a3c34f5f39 Run black on sources 2020-09-19 14:02:03 +02:00
Griatch
d607bbb0fc Optimize EvMore for prototypes, as per #2126 2020-09-14 23:35:21 +02:00
Griatch
e7efffd629 Use assertCountEqual for better handling db variations 2020-09-06 20:02:21 +02:00
Griatch
b086e95e19 Fix unittest for postgres ordering 2020-09-06 10:48:50 +02:00
Griatch
98bb8f6f79 Optimize queries for prototype lookup, as part of #2126. 2020-09-05 23:30:08 +02:00
Griatch
ca341278e9 Ran black on sources 2020-04-12 12:17:06 +02:00
Griatch
21f76560b8 Fix unit tests 2020-03-29 00:12:16 +01:00
Griatch
15f1eaaac0 Hide prototypes from CmdScripts output. Resolves #2067 2020-03-28 20:56:01 +01:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Griatch
47b362738d Fix unit tests 2019-09-08 21:17:55 +02:00
Griatch
1d0d6bc7cf Update unit tests for better postgres support 2019-03-21 22:35:58 +01:00
Griatch
90b42ca6fb Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
0dfea46d5c Change save/search_prototype, extend unittests 2019-02-09 16:52:02 +01:00
Griatch
aa48593a40 Made all unit tests pass 2019-01-09 22:08:48 +01:00
Griatch
981119b640 Fix merge conflicts 2019-01-01 15:19:20 +01:00
Henddher Pedroza
cd9a91c377 Update test 2018-10-30 20:10:36 -05:00
Henddher Pedroza
979d24a12f Remove prototypes._RE_DBREF and add new dbref() to protfuncs 2018-10-30 19:50:40 -05:00
Henddher Pedroza
f6d62e2f69 Harden mocked _obj_search() calls with passed in when applicable 2018-10-28 20:52:19 -05:00
Henddher Pedroza
bfeebc47ba Assert protfuncs._obj_search is called ONLY when (), () and () are called.
Group tests according to protfuncs._obj_search() calls
2018-10-28 20:43:14 -05:00
Henddher Pedroza
c2ccc5d297 #1704: Update _RE_DBREF to match '(#Number)' so that it aliases to '(#Number)' 2018-10-28 09:43:01 -05:00
Henddher Pedroza
5a8858aab9 Tests for protfunc parser and _RE_DBREF 2018-10-27 18:20:54 -05:00
Henddher Pedroza
a2b79a2ff1 Demonstrate potential problem with 2018-10-27 13:16:28 -05:00
Griatch
95c3adc163 Fix ordering of prototype diff output for test 2018-10-14 10:56:44 +02:00
Griatch
58116ff900 Remove basestring mentions remnants of 2.7 2018-10-13 19:30:24 +02:00
Griatch
14eea024bb Correct tag handling in prototype; fix unittests 2018-10-07 18:45:28 +02:00
Griatch
550a25820d Fix unittests. Implement #1675. 2018-10-06 21:00:31 +02:00
Griatch
3537ae13a4 Correct issues with object-update in OLC menu. Resolves #1647. 2018-09-22 22:27:50 +02:00
Griatch
982f977429 Continuing bug fixes 2018-09-22 17:23:31 +02:00
Griatch
cbfe6d9e38 Resolve unit tests 2018-09-21 00:24:19 +02:00
Griatch
f31433c3ef Fix unit tests 2018-09-19 23:49:46 +02:00
Griatch
a29b46d091 Cleanup, bug fixes, refactoring 2018-09-19 22:51:27 +02:00
Griatch
b6675b854e Resolve unittests 2018-08-12 13:37:19 +02:00
Griatch
d4ba24934c Correct unittests 2018-07-30 20:19:46 +02:00
Griatch
02b4eb8b25 Fix attr assignmen issue in olc menu 2018-07-30 17:38:59 +02:00
Griatch
e1cc36e4d4 Complete refactoring of main nodes. Remain spawn/load/save 2018-07-28 19:58:20 +02:00
Griatch
69ae055e20 Refactor locks and permissions in olc menu 2018-07-27 18:46:30 +02:00
Griatch
e210e87490 Add tag handling in old menu 2018-07-27 13:34:20 +02:00
Griatch
50c54501f1 Refactor menu up until attrs 2018-07-26 23:41:00 +02:00
Griatch
a4b8b12e63 Fix unittests 2018-07-21 13:40:46 +02:00
Griatch
706ed47ccc Add unit tests to all menu helpers 2018-07-04 19:25:44 +02:00
Griatch
ec9813c256 Add functionality for object-update menu node, untested 2018-07-03 23:56:55 +02:00
Griatch
c004c6678b Start debugging olc menu structure 2018-07-01 00:17:43 +02:00
Griatch
194eb8e42f Unit testing/debugging olc menu 2018-06-24 16:03:48 +02:00
Griatch
9360dc71f1 Rename prototype to prototype_parent, fixing olc menu 2018-06-24 09:50:03 +02:00
Griatch
e601e03884 Unittests pass for all protfuncs 2018-06-21 22:42:50 +02:00