Testmodul.
This commit is contained in:
11
tomb.py
11
tomb.py
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/python3
|
||||
import World
|
||||
import ActionModul
|
||||
import TestModule
|
||||
import signal
|
||||
import sys
|
||||
import logging
|
||||
@@ -91,6 +92,16 @@ def inputLoop(stdscr):
|
||||
|
||||
if debugcommand[1] == 'items':
|
||||
debug_Items()
|
||||
elif command.startswith('auto:'):
|
||||
command = command.rstrip()
|
||||
if command.startswith('auto:'):
|
||||
debugcommand = command.split(':',1)
|
||||
|
||||
logging.debug(f'debugcommand: {debugcommand}')
|
||||
testmodul = TestModule.TestModule(world)
|
||||
|
||||
if(debugcommand[1] == 'truhe'):
|
||||
testmodul.testOeffneTruhe()
|
||||
|
||||
|
||||
else:
|
||||
|
Reference in New Issue
Block a user