Changeset 5578

Show
Ignore:
Timestamp:
10/22/08 13:06:29 (3 months ago)
Author:
mramm
Message:

Making room for other non-config full stack tests

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tg/lib/base.py

    r5527 r5578  
     1"""Pylons requires that packages have a lib.base and lib.helpers  
     2 
     3 
     4So we've added on here so we can run tests in the context of the tg  
     5package itself, pylons will likely remove this restriction before 1.0  
     6and this module can then be removed.  
     7 
     8""" 
  • trunk/tg/lib/helpers.py

    r5527 r5578  
     1"""Pylons requires that packages have a lib.base and lib.helpers  
     2 
     3 
     4So we've added on here so we can run tests in the context of the tg  
     5package itself, pylons will likely remove this restriction before 1.0  
     6and this module can then be removed.  
     7 
     8""" 
  • trunk/tg/lib/__init__.py

    r5527 r5578  
     1"""Pylons requires that packages have a lib.base and lib.helpers  
     2 
     3 
     4So we've added on here so we can run tests in the context of the tg  
     5package itself, pylons will likely remove this restriction before  
     61.0 and this package can then be removed.  
     7 
     8""" 
  • trunk/tg/tests/test_stack/test_config.py

    r5527 r5578  
    2222         
    2323        root = "." 
    24         test_base_path = os.path.join(root,'tg', 'tests', 'test_stack') 
     24        test_base_path = os.path.join(root,'tg', 'tests',  
     25                                      'test_stack', 'config')  
     26                                       
    2527        self.paths=tg.util.Bunch(root=test_base_path, 
    2628                    controllers=os.path.join(test_base_path, 'controllers'), 
    2729                    static_files=os.path.join(test_base_path, 'public'), 
    28                     templates=[os.path.join(test_base_path, 'templates')] 
     30                    templates=[os.path.join(test_base_path, 'config_templates')] 
    2931                    ) 
    3032         
  • trunk/TODO.txt

    r5520 r5578  
    22===== 
    33 
    4 * transaction middleware, pre-configured for a transaction-per-request model 
    5     with auto-rollback and auto-commit 
    64* Upgrade Guide 
    7  
    8 * Add sample tests to TurboGears paster template (use nose style setup functions)  
    95 
    106* Create TG2 Docs on the Wiki