source: products/quintagroup.plonetabs/trunk/quintagroup/plonetabs/tests/ecmaunits/ecmaview.py @ 884

Last change on this file since 884 was 884, checked in by mylan, 17 years ago

Correct reply notification message template.

  • Property svn:eol-style set to native
File size: 631 bytes
Line 
1import os
2from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
3from kss.core.tests.ecmaview import EcmaView as base
4
5def absolute_dir(path):
6    here = os.path.split(globals()['__file__'])[0]
7    return os.path.abspath(os.path.join(here, path))
8
9class EcmaView(base):
10    '''quintagroup.plonetabs js test view
11   
12    This allows the runner.html to be used on this view.
13
14    This provides the tests run with the compiled kukit.js
15    resource, in the same way as they would be run
16    in production with kss.
17    '''
18
19    _testdir = absolute_dir('js')
20
21    _runner = ViewPageTemplateFile('js/runner.html')
Note: See TracBrowser for help on using the repository browser.