configurationengine/source/plugins/symbian/ConeCRMLPlugin/CRMLPlugin/tests/unittest_crml_writer.py
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
--- a/configurationengine/source/plugins/symbian/ConeCRMLPlugin/CRMLPlugin/tests/unittest_crml_writer.py	Fri Mar 12 08:30:17 2010 +0200
+++ b/configurationengine/source/plugins/symbian/ConeCRMLPlugin/CRMLPlugin/tests/unittest_crml_writer.py	Tue Aug 10 14:29:28 2010 +0300
@@ -15,7 +15,6 @@
 #
 
 import sys, os, unittest, logging
-import __init__
 
 ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
 
@@ -66,7 +65,8 @@
 
 class TestCrmlTxtWriter(unittest.TestCase):
     def setUp(self):
-        self.writer = CrmlTxtWriter(MockConfiguration(), log)
+        self.context = plugin.GenerationContext(configuration=MockConfiguration())
+        self.writer = CrmlTxtWriter(self.context, log)
     
     def test_write_access(self):
         def check(acc, expected):