~tualatrix/ubuntu-tweak/trunk

« back to all changes in this revision

Viewing changes to tests/test_configsettings.py

  • Committer: Tualatrix Chou
  • Date: 2012-05-12 15:24:42 UTC
  • mfrom: (1842.1.3 ubuntu-tweak-0.7.x)
  • Revision ID: tualatrix@gmail.com-20120512152442-3dfde9gh5mqc8jv4
Fix Invalid values for resetting fonts and all other tests (Bug: #998411)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        self.assertEqual('/usr/share/backgrounds/The_Forbidden_City_by_Daniel_Mathis.jpg', background_setting.get_value())
40
40
        #try again the fuzz type for str
41
41
        background_setting = ConfigSetting(self.get_key('background'))
42
 
        self.assertEqual("'/usr/share/backgrounds/The_Forbidden_City_by_Daniel_Mathis.jpg'", background_setting.get_value())
 
42
        self.assertEqual("/usr/share/backgrounds/The_Forbidden_City_by_Daniel_Mathis.jpg", background_setting.get_value())
43
43
 
44
44
    def get_key(self, key):
45
45
        return "%s::%s#%s" % (self.unity_greeter_override_path, 'com.canonical.unity-greeter', key)