Commit graph

286 commits

Author SHA1 Message Date
Griatch
0779ec82b6 Apply black on code 2025-04-26 14:07:38 +02:00
Griatch
a89c8f68cd Add unit test for TickerHandler store_key fix 2025-04-26 11:51:13 +02:00
0xDEADFED5
bad5817c44 rebuild TickerHandler store_key if it's been serialized 2025-03-30 02:50:36 -07:00
Griatch
a921660fd0 Make tutorial-world buildable by Developer.
Make use of .ndb.batch_batchmode to avoid affecting the builder (document this). Resolve #3688.
Clean up OnDemandTasks' categories before saving, in case it was an object that was deleted
2025-01-18 16:03:20 +01:00
Griatch
c476121a6c Make TaskHandler properly handle missing attribute on server reload. Resolve #3620 2024-09-29 12:57:19 +02:00
Griatch
bb751ad2ff Adding an already instantiated Script to ScriptHandler.add didn't add it to the handler's object. 2024-08-11 17:20:58 +02:00
Griatch
05b429d548 Refactor script command to handler key:typeclass inputs 2024-08-11 16:54:31 +02:00
Griatch
4954fa1189 Global scripts not defined in settings wouldn't appear on GLOBAL_SCRIPTS container as documented. Resolves #3519 2024-08-11 15:47:03 +02:00
Griatch
9c3ba936e4 Run black on sources 2024-06-27 16:01:09 +02:00
Griatch
9ca41b5d0d Update game template class doc strings to be more up-to-date. Resolve #3387 2024-06-27 15:58:11 +02:00
Griatch
c5a4a34bac Apply black to codes 2024-04-01 17:51:05 +02:00
Griatch
11834dfe49 Support Python 3.12. Update optional scipy req to 1.12.0 2024-03-17 00:53:28 +01:00
Griatch
34b5f1133c Pass kwargs from get_stages/dt to staging callable in ondemandhandler 2024-03-11 22:09:17 +01:00
Griatch
8dde1fbe38 Add set_dt/stage to on-demandhandler. Fix issue with loading 2024-03-06 00:13:09 +01:00
Griatch
e5d07603ca Run black. Resolve circular import issues in components contrib. 2024-02-25 19:03:11 +01:00
Griatch
42aba18ada Add OnDemandHandler to support on-demand timers easier 2024-02-04 00:38:47 +01:00
Griatch
ed7b1634a2 Fix missing unit test flag 2023-12-02 20:07:00 +01:00
Griatch
62ff667f9a Make input func monitor support attribute categories. Resolve #3307 2023-11-26 13:13:27 +01:00
Griatch
f6b43b0416 Ran black on sources 2023-11-02 20:58:03 +01:00
Griatch
fac36e3d88 Prepping unit test for later fixes 2023-10-01 10:41:58 +02:00
Griatch
1add10bcb0 Add extra unit test to test #3271 2023-09-23 23:25:37 +02:00
Griatch
808bde0c7c Make Sripthandler.add not fail if passed instantiated script. Resolve #3272 2023-09-23 22:45:11 +02:00
Griatch
abc55276c6 Channel.start with integer start_delay led to a traceback. Resolve #3240 2023-08-06 21:47:59 +02:00
Griatch
06cfc7b01e Merge pull request #3184 from InspectorCaracal/ticker-save-refactor
Minor refactor for TickerHandler.save()
2023-05-21 10:23:48 +02:00
Griatch
d13ac065c7 Fix unit tests 2023-05-18 23:38:14 +02:00
Griatch
f70fd64478 Make turnbased combat work 2023-05-15 19:34:38 +02:00
InspectorCaracal
a975d4b9ae minor tickerhandler refactor 2023-05-09 21:32:01 -06:00
Griatch
049e4fbb35 Split evadventure combat code into several modules 2023-04-09 11:11:58 +02:00
Griatch
db6d2bf4df Merge with main 2023-03-24 15:23:51 +01:00
Storsorken
1c21545130 bug: stop repeating script before test ends
Test might otherwise causing unexpected side effects
2023-03-13 20:50:01 +01:00
Storsorken
12ad2d13ab fix: rename ListIntervalsScript due to global name
Rename ListIntervalsScript to TestingListIntervalScript to avoid potential name clashes
2023-03-13 20:33:18 +01:00
Griatch
7971e6c2ff Start turn-based menu 2023-03-10 21:27:15 +01:00
Storsorken
80db329fad docs: #21 fix comment 2023-03-08 13:55:19 +01:00
Storsorken
5de52855d1 docs: #21 add missing docstrings
Add missing docstrings for scripts/tests.py
2023-03-08 13:45:32 +01:00
Storsorken
99d4f36bf6 docs: #21 move comment 2023-03-08 13:22:39 +01:00
Storsorken
3b30f6f4a1 fix: #21 fix imports 2023-03-08 13:20:26 +01:00
Storsorken
dd442e9338 fix: #20 separate tests in Test_improve_coverage 2023-03-08 12:25:33 +01:00
Storsorken
6d1e85b198 fix: #18 revert unnecessary newline change 2023-03-07 19:50:22 +01:00
Storsorken
17a2cc2c90 fix: #18 clean up patch
Fix white space changes.

End of file newline has been re-added and and some unnecessary whitespace changes have been reverted
2023-03-07 19:46:41 +01:00
Pontus Prüzelius
a55a31f0be Merge branch '6-merge-unit-tests-into-same-branch' of github.com:pontuspr/evennia into 2-increase-test-coverage-for-scriptsmonitorhandlerpy 2023-03-07 11:13:24 +01:00
Pontus Prüzelius
ddf51bd702 doc: dummy_func explained 2023-03-06 21:54:18 +01:00
Storsorken
2e4bced351 Tests: #11 test force_repeat
Test forcing script to run that is scheduled to run in the future
2023-03-06 01:24:22 +01:00
Storsorken
d044e31f08 tests: #11 add test for __call__
Add test for __call__ in ExtendedLoopingCall class

Test __call__ modifies start_delay and starttime if start_delay was previously set
2023-03-05 20:43:14 +01:00
Storsorken
f31b954bd7 tests: #11 add test for invalid argument
Tests invalid argument to start method in ExtendedLoopingCall class throws ValueError
2023-03-05 20:20:26 +01:00
Pontus Prüzelius
17f7c0750b feat: tests for add/remove attributes from monitorhandler 2023-03-03 19:49:14 +01:00
Pontus Prüzelius
25e6fd9a3b doc: added documentation to added tests #2 2023-03-03 18:31:12 +01:00
Pontus Prüzelius
c481ae772d feat: added tests for all,clear #2 2023-03-03 18:21:39 +01:00
Pontus Prüzelius
5541b94688 Merge branch '6-merge-unit-tests-into-same-branch' of github.com:pontuspr/evennia into 2-increase-test-coverage-for-scriptsmonitorhandlerpy 2023-03-03 16:53:55 +01:00
Pontus Prüzelius
d4df18fd28 fix:Removed unused commented out function 2023-03-03 16:53:49 +01:00
HelloDane
695ea655fb Merge branch '6-merge-unit-tests-into-same-branch' into 4-increase-test-coverage-for-scriptstickethandlerpy 2023-03-02 10:36:05 +01:00