Commit 54d07492 authored by Benjamin Berg's avatar Benjamin Berg
Browse files

tests: Make sure file time changes seconds

Otherwise fontconfig might report that no update was necessary, and
g-s-d would print a different message, resulting in a test failure.
parent 28c6f318
Pipeline #299497 passed with stages
in 4 minutes and 21 seconds
......@@ -120,6 +120,9 @@ class XsettingsPluginTest(gsdtestcase.GSDTestCase):
before = self.obj_xsettings_props.Get('org.gtk.Settings', 'FontconfigTimestamp')
self.assertEqual(before, 0)
# Make sure the seconds changed
# Copy the fonts.conf again
shutil.copy(os.path.join(os.path.dirname(__file__), 'fontconfig-test/fonts.conf'),
os.path.join(self.fc_dir, 'fonts.conf'))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment