source: trunk/game/run_tests.py @ 21

Revision 21, 349 bytes checked in by icelus_parpg, 11 years ago (diff)

Apply ActionStack? patch from tie (ticket #1).

  • queue actions for hero to perform (e.g. move to target, act)
  • unit tests for ActionStack?
  • new run_tests script
  • kick added as an always present to allow queueing to be seen.
Line 
1import sys, os, unittest
2
3def _jp(path):
4    return os.path.sep.join(path.split('/'))
5
6_paths = ('../../engine/swigwrappers/python', '../../engine/extensions')
7for p in _paths:
8    if p not in sys.path:
9        sys.path.append(_jp(p))
10
11from scripts.agents.ActionStack_test import ActionStackTestCase
12
13if __name__ == '__main__':
14    unittest.main()
15
Note: See TracBrowser for help on using the repository browser.