diff --git a/Lib/robofab/test/test_ufoLib.py b/Lib/robofab/test/test_ufoLib.py index 4e9c893d4..c7baed4e7 100644 --- a/Lib/robofab/test/test_ufoLib.py +++ b/Lib/robofab/test/test_ufoLib.py @@ -1568,11 +1568,15 @@ class UFO3ReadDataTestCase(unittest.TestCase): def testUFOReaderDataDirectoryListing(self): reader = UFOReader(self.getFontPath()) found = reader.getDataDirectoryListing() + # filter out the .svn + found = [path for path in found if ".svn" not in path] + found = list(sorted(found)) expected = [ 'data/org.unifiedfontobject.directory/bar/lol.txt', 'data/org.unifiedfontobject.directory/foo.txt', 'data/org.unifiedfontobject.file.txt' ] + expected = list(sorted(expected)) self.assertEqual(found, expected) def testUFOReaderBytesFromPath(self): @@ -1597,6 +1601,7 @@ class UFO3ReadDataTestCase(unittest.TestCase): fileObject = reader.getReadFileForPath("data/org.unifiedfontobject.doesNotExist") self.assertEqual(fileObject, None) + class UFO3WriteDataTestCase(unittest.TestCase): def setUp(self): @@ -1678,6 +1683,7 @@ class UFO3WriteDataTestCase(unittest.TestCase): self.assertRaises(UFOLibError, writer.removeFileForPath, path="metainfo.plist") self.assertRaises(UFOLibError, writer.removeFileForPath, path="data/org.unifiedfontobject.doesNotExist.txt") + class ConversionFunctionsTestCase(unittest.TestCase): def tearDown(self):