22 lines
409 B
Python
22 lines
409 B
Python
import logging
|
|
import ActionModul
|
|
|
|
class TestModule:
|
|
|
|
def __init__(self, world):
|
|
|
|
logging.debug(f'** init Testmodule {world}')
|
|
self.world = world
|
|
self.actionmodul = ActionModul.ActionModul(world)
|
|
|
|
def testOeffneTruhe(self):
|
|
|
|
pcmd = self.world.parseInput('nimm Truhe')
|
|
self.actionmodul.rauf()
|
|
self.actionmodul.nimm(pcmd)
|
|
self.actionmodul.runter()
|
|
self.actionmodul.sued()
|
|
|
|
|
|
|