Author: reebalazs
Date: Sat Mar 29 18:50:25 2008
New Revision: 53101
Modified:
kukit/kss.demo/branch/1.4-kss-test/kss/demo/registry.py
kukit/kss.demo/branch/1.4-kss-test/kss/demo/resource.py
Log:
Fix the dev/prod mode suites permission problem.
Modified: kukit/kss.demo/branch/1.4-kss-test/kss/demo/registry.py
==============================================================================
--- kukit/kss.demo/branch/1.4-kss-test/kss/demo/registry.py (original)
+++ kukit/kss.demo/branch/1.4-kss-test/kss/demo/registry.py Sat Mar 29
18:50:25 2008
@@ -166,7 +166,7 @@
"""Register a selenium suite."""
# Register the suite in different registries.
self.test_suites.append(test_suite)
- self.all_registered_paths.extend(test_suite.tests.get_testcase_paths())
+ self.all_registered_paths.extend(test_suite.get_testcase_paths())
# XXX TODO need different other registries for lookup of categories.
if test_suite.application not in self.applications:
self.applications.append(test_suite.application)
Modified: kukit/kss.demo/branch/1.4-kss-test/kss/demo/resource.py
==============================================================================
--- kukit/kss.demo/branch/1.4-kss-test/kss/demo/resource.py (original)
+++ kukit/kss.demo/branch/1.4-kss-test/kss/demo/resource.py Sat Mar 29
18:50:25 2008
@@ -205,7 +205,10 @@
self.layer.setup.get_testcase_paths(),
self.tests.get_testcase_paths(),
self.layer.teardown.get_testcase_paths(),
- ('browser/setDevMode.html', 'browser/setProdMode.html'),
+ (
+ self.find_absolute_path('browser/setDevMode.html'),
+ self.find_absolute_path('browser/setProdMode.html'),
+ ),
)
def get_relative_urls(self, view):
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins