configurationengine/source/plugins/example/ConeExamplePlugin/examplemlplugin/tests/unittest_exampleml_impl.py
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
--- a/configurationengine/source/plugins/example/ConeExamplePlugin/examplemlplugin/tests/unittest_exampleml_impl.py	Fri Mar 12 08:30:17 2010 +0200
+++ b/configurationengine/source/plugins/example/ConeExamplePlugin/examplemlplugin/tests/unittest_exampleml_impl.py	Tue Aug 10 14:29:28 2010 +0300
@@ -15,7 +15,6 @@
 #
 
 import sys, os, unittest
-import __init__
 
 ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
 
@@ -26,7 +25,7 @@
 class TestExamplemlImpl(unittest.TestCase):
 
     def setUp(self):
-        project_dir = os.path.join(ROOT_PATH, 'project')
+        project_dir = os.path.join(ROOT_PATH, 'testdata/generation/project')
         self.project = api.Project(api.Storage.open(project_dir))
         self.config = self.project.get_configuration('root.confml')
     
@@ -42,7 +41,7 @@
     
     def test_list_output_files(self):
         def oj( p2): # oj = output_join
-            return os.path.normpath(os.path.join('output', p2))
+            return os.path.normpath(p2)
         
         impl = self.get_impl('Layer/implml/test.exampleml', 0)
         self.assertEquals(impl.list_output_files(), [oj('test.txt'),