def setUp(self):
     settings.Settings._file = self._file = helper.tmp_path('settings')
     settings.Settings.load_dot_cola = lambda x, y: None
Example #2
0
 def setUp(self):
     Settings._file = self._file = helper.tmp_path('settings')
     self.settings = self.new_settings()
Example #3
0
 def setUp(self):
     Settings._file = self._file = helper.tmp_path('settings')
     self.settings = self.new_settings()
Example #4
0
 def setUp(self):
     settings.Settings._file = self._file = helper.tmp_path('settings')
     settings.Settings.load_dot_cola = lambda x, y: {}
Example #5
0
 def setUp(self):
     self._old_rcfile = settings.SettingsManager._rcfile
     self._rcfile = helper.tmp_path('colarc')
     settings.SettingsManager._rcfile = self._rcfile