Commit graph

267 commits

Author SHA1 Message Date
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
HelloDane
908dd97d8c Merge branch '6-merge-unit-tests-into-same-branch' into 2-increase-test-coverage-for-scriptsmonitorhandlerpy 2023-03-02 10:34:48 +01:00
HelloDane
540d5503a8 Merge branch '6-merge-unit-tests-into-same-branch' into 1-increase-test-coverage-for-scriptsmanagerpy 2023-03-02 10:33:16 +01:00
Pontus Prüzelius
e69dc8a1c3 feat: tests for add,remove in monitorhandler 2023-03-02 01:18:37 +01:00
hapeters
3a06c7dc91 feat: #4 add tests to increase code coverage
add test_store_key_raises_RunTimeError and
test_remove_raises_RunTimeError to scripts/tests.py to increase code
coverage for scripts/tickethandler.py
2023-03-01 22:26:10 +01:00
Daniel Ericsson
2692ae1d41 feat #3 Implemented ScriptHandler unit tests
Implemented tests for starting scripts and listing script intervals
through ScriptHandler. Code coverage improved from 72% -> 84%
2023-03-01 19:49:35 +01:00
patrik kinnunen
ec994436cd feat: #1 coverage for get all scripts on None obj 2023-03-01 17:04:16 +01:00
Griatch
89d1336cda Apply black 2022-11-28 19:55:02 +01:00
Griatch
c97dbe6915 Update docstrings Args->Keyword Args for tickerhandler. Resolve #2723 2022-11-27 18:37:50 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Owllex
65ed5d29df Change default ID field to be BigAutoField.
* Add relevant migration files for all apps.
2022-10-31 13:13:02 -07:00
Griatch
43378b4c41 Ran black on sources 2022-09-18 23:58:32 +02:00
Griatch
afadb1001e More work on tech demo area 2022-07-13 14:32:19 +02:00
Griatch
e7f8926b23 Add more parts of the turnbased combat tutorial 2022-07-11 20:45:30 +02:00
Griatch
cbaf9151c2 Refactored turn based combat tutorial 2022-07-03 22:12:23 +02:00
InspectorCaracal
00578a6c5d fix index and iteration for clear 2022-04-15 10:14:54 -06:00
Griatch
ef7280f55a Add TagProperty, AliasProperty, PermissionProperty. Default autocreate=True for AttributeProperty. 2022-04-09 15:56:24 +02:00
Griatch
29430d8d0f Avoid inf recursion when deleting script from at_stop. Resolve #2642 2022-02-12 20:19:35 +01:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
5e2372f79d Make sure Typeclass.at_init() is always called on cache initialization for any typeclass. Resolve #2641 2022-02-07 20:45:48 +01:00