Commit f8ab30f0 authored by Romain Courteaud's avatar Romain Courteaud

theia: test unexpected filename

parent 5f4c1a1f
......@@ -380,7 +380,7 @@ class TestTheiaExportAndImport(ResilienceMixin, ExportAndImportMixin, ResilientT
self.initial_log = self.checkLog(os.path.join(dummy_root, 'log.log'))
# Create ~/include and ~/include/included
self.writeFile(os.path.join(dummy_root, 'include', 'included'),
self.writeFile(os.path.join(dummy_root, 'include', 'included$\n'),
'This file should be included in resilient backup')
# Create ~/exclude and ~/exclude/excluded
......@@ -428,7 +428,7 @@ class TestTheiaExportAndImport(ResilienceMixin, ExportAndImportMixin, ResilientT
self.assertIn('Custom script', f.read())
# Check that ~/include and ~/include/included were included
self.assertTrue(os.path.exists(os.path.join(dummy_root, 'include', 'included')))
self.assertTrue(os.path.exists(os.path.join(dummy_root, 'include', 'included$\r')))
# Check that ~/exclude was excluded
self.assertFalse(os.path.exists(os.path.join(dummy_root, 'exclude')))
......
Markdown is supported
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