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