Changes between Version 10 and Version 11 of TracDev/UnitTests
- Timestamp:
- May 11, 2009, 10:38:16 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/UnitTests
v10 v11 36 36 }}} 37 37 38 === ImportError: no module named tests ===39 If you try to run the tests and you receive40 {{{41 ImportError: No module named tests42 }}}43 44 It may mean that you have a version of Trac installed in /usr/lib/pythonX.X/site-packages but you are testing a different version installed elsewhere on your machine.45 46 If so, uninstalling the system version of Trac in /usr/lib/pythonX.X should allow you to run the unit tests, testing your private version.47 48 Installing your virtual environment with {{{--no-site-packages}}} should eliminate this problem.49 38 == Buildbots == 50 39 … … 78 67 If these dependencies are not present, certain tests will be skipped. 79 68 69 == Troubleshooting == 70 For general advice about Trac debugging, see TracTroubleshooting. 71 72 === !ImportError: no module named tests === 73 If you try to run the tests and you receive 74 {{{ 75 ImportError: No module named tests 76 }}} 77 78 It may mean that you have a version of Trac installed in /usr/lib/pythonX.X/site-packages but you are testing a different version installed elsewhere on your machine. 79 80 If so, uninstalling the system version of Trac in /usr/lib/pythonX.X should allow you to run the unit tests, testing your private version. 81 82 Installing your virtual environment with {{{--no-site-packages}}} should eliminate this problem. 83 80 84 ---- 81 85 See also: TracDev/FunctionalTests