Example #1
0
 def __init__(self, temp_dir_for_excludes=None):
     Settings.__init__(self, None)
     self.add_section('Plugins')
     self.set('pythonpath', [])
     self.set('auto imports', [])
     if temp_dir_for_excludes:
         self.excludes = Excludes(temp_dir_for_excludes)
Example #2
0
 def __init__(self, temp_dir_for_excludes=None):
     Settings.__init__(self, None)
     self.add_section("Plugins")
     self.set("pythonpath", [])
     self.set("auto imports", [])
     if temp_dir_for_excludes:
         self.excludes = Excludes(temp_dir_for_excludes)
Example #3
0
 def __init__(self, temp_dir_for_excludes=None):
     Settings.__init__(self, None)
     self.add_section('Plugins')
     self.set('pythonpath', [])
     self.set('auto imports', [])
     if temp_dir_for_excludes:
         self.excludes = Excludes(temp_dir_for_excludes)
Example #4
0
File: mocks.py Project: tbener/RIDE
 def __init__(self, temp_dir_for_excludes=None):
     Settings.__init__(self, None)
     self.add_section('Plugins')
     self.set('pythonpath', [])
     self.set('auto imports', [])
     self.set('use installed robot libraries', False)
     if temp_dir_for_excludes:
         self.excludes = Excludes(temp_dir_for_excludes)
Example #5
0
 def __init__(self, settings=None):
     Settings.__init__(self, None)
     self.add_section('Plugins')
     self.set('pythonpath', [])
     self.set('auto imports', [])
     if settings:
         for key, val in settings.items():
             self.set(key, val)
Example #6
0
 def __init__(self, settings=None):
     Settings.__init__(self, None)
     self.add_section('Plugins')
     self.set('pythonpath', [])
     self.set('auto imports', [])
     if settings:
         for key, val in settings.items():
             self.set(key, val)
Example #7
0
 def __init__(self, settings=None):
     Settings.__init__(self, None)
     self.add_section('Plugins')
     self.set('pythonpath', [])
     self.set('auto imports', [])
     self.set('use installed robot libraries', False)
     if settings:
         for key, val in settings.items():
             self.set(key, val)
Example #8
0
    def __init__(self, settings=None):
        fake_cfg = os.path.join(os.path.dirname(__file__), 'fake.cfg')

        # make sure fake cfg is clean
        with open(fake_cfg, 'wb') as f:
            f.write(_FAKE_CFG_CONTENT)

        Settings.__init__(self, fake_cfg)
        self.add_section('Plugins')
        self.set('pythonpath', [])
        self.set('auto imports', [])
        if settings:
            for key, val in settings.items():
                self.set(key, val)
Example #9
0
 def __init__(self):
     Settings.__init__(self, None)
     self.add_section('Plugins')
     self.set('pythonpath', [])
     self.set('auto imports', [])