Commit graph

105 commits

Author SHA1 Message Date
Griatch
47b362738d Fix unit tests 2019-09-08 21:17:55 +02:00
Griatch
5f8e08ecaf Handle spawned attrs with dict, as per #1787 2019-06-09 18:03:53 +02:00
Griatch
e9df197385 Correctly handle OLC save errors 2019-06-09 17:42:26 +02:00
Griatch
8cb162342c Streamline batch-spawn mechanism 2019-04-07 23:13:38 +02:00
Griatch
690a11754d Fix permission level to edit object. Resolve #1801 2019-03-31 22:06:06 +02:00
Griatch
f4a1bf9bae Mention in OLC that you can just write to enter a new value 2019-03-31 19:31:06 +02:00
Griatch
814bb2e8f8 Resolve further unit test issue with postgres 2019-03-23 23:34:34 +01:00
Griatch
1d0d6bc7cf Update unit tests for better postgres support 2019-03-21 22:35:58 +01:00
Griatch
b3dc85a4dc Start converting latest develop unittests to py3 2019-03-04 23:20:07 +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
95604616a3 Correct docstring for $dbref protfunc 2019-02-07 09:52:58 +01:00
Griatch
c121f4915e Update spawn doc to better explain protparents kwarg (see #1775) 2019-02-07 09:12:52 +01:00
Griatch
74f22791d8 Resolve merge conflicts 2019-02-03 15:45:17 +01:00
Griatch
1412da1b0a Fix prototype inheritance of attrs/tags. Resolves #1773. 2019-02-03 15:17:32 +01:00
Griatch
690ed6ecd1 Fix merge conflicts 2019-01-17 23:08:19 +01:00
Griatch
a9fd49474d Correct use of callable in prototype creation 2019-01-17 23:03:11 +01:00
Griatch
c3ebd8d251 Use to_str/to_bytes, replacing old versions 2019-01-16 23:26:46 +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
6014d5eba4 Move regex out of protofunc to prevent recompilation on each call. 2018-11-05 18:44:12 -06: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
0a5701d627 Give default permissions to spawn/edit prototypes.
Resolves #1687.
2018-10-26 20:07:13 +02:00
Henddher Pedroza
1cbbdf5410 Harden test '@spawn/edit <valid-prototype>' by asserting that olc_menu has been loaded with valid-prototype.UX Enhancement to OLC menu. Underneath the title, display 'Editing: key(prototype_key)' of the prototype being edited. If none, show blank line 2018-10-21 13:43:36 -05:00
Griatch
95c3adc163 Fix ordering of prototype diff output for test 2018-10-14 10:56:44 +02:00
Griatch
e9fb17528d Handle try..except overriding variable scope 2018-10-14 09:51:49 +02:00
Vincent Le Goff
687d24763b Fix a single test with try/except limited scope in Py3 2018-10-14 09:40:13 +02:00
Griatch
e05e9cda2c Fix simple errors in spawner test suite 2018-10-14 08:30:08 +02:00
Griatch
f23f107b33 Correct hashlib calls 2018-10-13 20:11:24 +02:00
Griatch
58116ff900 Remove basestring mentions remnants of 2.7 2018-10-13 19:30:24 +02:00
Griatch
3fbd74b332 Fix (again) of tag batch creation 2018-10-13 16:59:07 +02:00
Griatch
52c84b44b5 Handle prototype modules with non-dicts as global variables 2018-10-08 19:03:15 +02:00
Griatch
14eea024bb Correct tag handling in prototype; fix unittests 2018-10-07 18:45:28 +02:00
Griatch
a2e8b27ee4 Update docker file to better handle starting without an existing game folder 2018-10-07 18:29:25 +02:00
Griatch
fdc4550e19 Cleanup of account tests with more mocking 2018-10-07 14:31:36 +02:00
Griatch
fe14dfddef Fix bug in unittest that would cause occational name collision 2018-10-07 12:31:43 +02:00
Griatch
68ff0ac9d6 Clarify prototype_key replacement in modules; address #1676. 2018-10-07 10:51:01 +02:00
Griatch
550a25820d Fix unittests. Implement #1675. 2018-10-06 21:00:31 +02:00
Griatch
8b1ab0bc85 Remove debug info 2018-10-06 19:06:44 +02:00
Griatch
b5c6a483ac Fix bug in spawning with attributes 2018-10-06 19:05:57 +02:00
Griatch
7133492630 Be more lenient with spawning old, more free-form prototypes 2018-10-06 19:00:54 +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