Commit graph

11 commits

Author SHA1 Message Date
Griatch
062a545a97 Changed at_cmdset_get() hook to at_cmdset_get(**kwargs). This allows for the possibility to control dynamic generation of cmdsets, for example to force Exit cmdsets to be rebuilt. The aliasing command now uses this. Resolves #563. 2014-09-20 10:26:59 +02:00
Griatch
58f6c05964 Change testing keyword to _testing in cmdhandler 2014-08-24 10:55:02 +02:00
Griatch
53b204bb76 Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509. 2014-06-15 13:19:38 +02:00
Griatch
6f90149506 Merge pull request #511 from asechrest/myfixes
Added unittests for utils.py dedent() and list_to_string(). Adjusted lis...
2014-05-07 11:10:06 +02:00
asechrest
11ea572f00 Added unittests for utils.py dedent() and list_to_string(). Adjusted list_to_string to correctly handle no endsep. 2014-05-06 12:34:08 -04:00
Russell Jones
2b2d222e83 Some simple and proposed tests for the ScriptDB object. These pass OK with ./manage.py test, at least after running the server at least once. 2014-05-05 19:03:33 +01:00
Griatch
12c2402dac Changed crop functionality slightly, inspired by asechrest's unittest. 2014-05-05 09:19:03 +02:00
asechrest
bb854384bd Add unittest of utils.crop 2014-05-05 01:59:51 -04:00
Griatch
42c0235d0d Added an example unittest to test_utils_utils.py. 2014-05-03 23:51:08 +02:00
Griatch
3848a789a7 Changed lockhandler.add/replace to use LockExceptions instead of log_obj, which should also work more flexibly for handling lock errors for players. Resolves #410. 2014-04-21 00:24:33 +02:00
Griatch
bb7b73b7c2 Added auto-created empty unittest definitions. 2014-03-16 11:14:38 +01:00