source: trunk/PARPG/run_tests.py @ 172

Revision 172, 355 bytes checked in by meggie_parpg, 11 years ago (diff)

Added some test scenarios for the WoodenCrate? class. It fails on the trueAttr case (when you try to lock it), and I'm not exactly sure why.

  • Property svn:executable set to *
Line 
1#!/usr/bin/python
2import sys, os, unittest
3
4def _jp(path):
5    return os.path.sep.join(path.split('/'))
6
7_paths = ('../../engine/swigwrappers/python', '../../engine/extensions')
8for p in _paths:
9    if p not in sys.path:
10        sys.path.append(_jp(p))
11
12from scripts.tests.classTests import WoodenCrateTest
13
14if __name__ == '__main__':
15    unittest.main()
Note: See TracBrowser for help on using the repository browser.