Edgewall Software

Changes between Version 26 and Version 27 of TracDev/UnitTests


Ignore:
Timestamp:
Aug 22, 2019, 1:02:57 AM (7 months ago)
Author:
Ryan J Ollos
Comment:

Fix examples and simplify. Refs #13028.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/UnitTests

    v26 v27  
    4242
    4343{{{#!sh
    44 $ python -m unittest trac.versioncontrol.tests.__init__
    45 }}}
    46 
    47 or if you prefer bash:
    48 {{{#!sh
    49 $ PYTHONPATH=. trac/versioncontrol/tests/__init__.py
     44$ python -m unittest trac.versioncontrol.tests.__init__.test_suite
    5045}}}
    5146
     
    5954
    6055{{{#!sh
    61 $ python -m unittest trac.versioncontrol.tests.cache
    62 }}}
    63 
    64 or if you prefer bash:
    65 {{{#!sh
    66 $ PYTHONPATH=. trac/versioncontrol/tests/cache.py
     56$ python -m unittest trac.versioncontrol.tests.cache.test_suite
    6757}}}
    6858
     
    7464To run the test case `trac.versioncontrol.tests.cache.CacheTestCase.test_initial_sync`, execute:
    7565{{{#!sh
    76 $ python -m unittest trac.versioncontrol.tests.cache.TestCase.test_initial_sync
     66$ python -m unittest trac.versioncontrol.tests.cache.CacheTestCase.test_initial_sync
    7767}}}
    7868