From 66ce3d50b5d6e82673720d5fde25ff67b910677e Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 9 Oct 2018 13:15:54 +0100 Subject: [PATCH] move test suite outside of Lib/ufoLib Fixes https://github.com/unified-font-object/ufoLib/issues/165 --- .coveragerc | 4 ---- setup.cfg | 1 + {Lib/ufoLib/test => tests}/__init__.py | 0 {Lib/ufoLib/test => tests}/testSupport.py | 0 {Lib/ufoLib/test => tests}/test_GLIF1.py | 2 +- {Lib/ufoLib/test => tests}/test_GLIF2.py | 2 +- {Lib/ufoLib/test => tests}/test_UFO1.py | 2 +- {Lib/ufoLib/test => tests}/test_UFO2.py | 2 +- {Lib/ufoLib/test => tests}/test_UFO3.py | 2 +- {Lib/ufoLib/test => tests}/test_UFOConversion.py | 2 +- {Lib/ufoLib/test => tests}/test_etree.py | 0 {Lib/ufoLib/test => tests}/test_filenames.py | 0 {Lib/ufoLib/test => tests}/test_glifLib.py | 2 +- {Lib/ufoLib/test => tests}/test_plistlib.py | 0 .../test => tests}/testdata/DemoFont.ufo/fontinfo.plist | 0 .../test => tests}/testdata/DemoFont.ufo/glyphs/A_.glif | 0 .../test => tests}/testdata/DemoFont.ufo/glyphs/B_.glif | 0 .../test => tests}/testdata/DemoFont.ufo/glyphs/F_.glif | 0 .../test => tests}/testdata/DemoFont.ufo/glyphs/F__A__B_.glif | 0 .../test => tests}/testdata/DemoFont.ufo/glyphs/G_.glif | 0 .../test => tests}/testdata/DemoFont.ufo/glyphs/O_.glif | 0 .../test => tests}/testdata/DemoFont.ufo/glyphs/R_.glif | 0 .../ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/a.glif | 0 .../testdata/DemoFont.ufo/glyphs/contents.plist | 0 .../testdata/DemoFont.ufo/glyphs/testglyph1.glif | 0 .../testdata/DemoFont.ufo/glyphs/testglyph1.reversed.glif | 0 {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/lib.plist | 0 .../test => tests}/testdata/DemoFont.ufo/metainfo.plist | 0 .../testdata/TestFont1 (UFO1).ufo/fontinfo.plist | 0 .../testdata/TestFont1 (UFO1).ufo/glyphs/A_.glif | 0 .../testdata/TestFont1 (UFO1).ufo/glyphs/B_.glif | 0 .../testdata/TestFont1 (UFO1).ufo/glyphs/contents.plist | 0 .../test => tests}/testdata/TestFont1 (UFO1).ufo/groups.plist | 0 .../testdata/TestFont1 (UFO1).ufo/kerning.plist | 0 .../test => tests}/testdata/TestFont1 (UFO1).ufo/lib.plist | 0 .../testdata/TestFont1 (UFO1).ufo/metainfo.plist | 0 .../test => tests}/testdata/TestFont1 (UFO2).ufo/features.fea | 0 .../testdata/TestFont1 (UFO2).ufo/fontinfo.plist | 0 .../testdata/TestFont1 (UFO2).ufo/glyphs/A_.glif | 0 .../testdata/TestFont1 (UFO2).ufo/glyphs/B_.glif | 0 .../testdata/TestFont1 (UFO2).ufo/glyphs/contents.plist | 0 .../test => tests}/testdata/TestFont1 (UFO2).ufo/groups.plist | 0 .../testdata/TestFont1 (UFO2).ufo/kerning.plist | 0 .../test => tests}/testdata/TestFont1 (UFO2).ufo/lib.plist | 0 .../testdata/TestFont1 (UFO2).ufo/metainfo.plist | 0 .../data/org.unifiedfontobject.directory/bar/lol.txt | 0 .../data/org.unifiedfontobject.directory/foo.txt | 0 .../UFO3-Read Data.ufo/data/org.unifiedfontobject.file.txt | 0 .../test => tests}/testdata/UFO3-Read Data.ufo/metainfo.plist | 0 {Lib/ufoLib/test => tests}/testdata/test.plist | 0 50 files changed, 8 insertions(+), 11 deletions(-) rename {Lib/ufoLib/test => tests}/__init__.py (100%) rename {Lib/ufoLib/test => tests}/testSupport.py (100%) rename {Lib/ufoLib/test => tests}/test_GLIF1.py (99%) rename {Lib/ufoLib/test => tests}/test_GLIF2.py (99%) rename {Lib/ufoLib/test => tests}/test_UFO1.py (98%) rename {Lib/ufoLib/test => tests}/test_UFO2.py (99%) rename {Lib/ufoLib/test => tests}/test_UFO3.py (99%) rename {Lib/ufoLib/test => tests}/test_UFOConversion.py (99%) rename {Lib/ufoLib/test => tests}/test_etree.py (100%) rename {Lib/ufoLib/test => tests}/test_filenames.py (100%) rename {Lib/ufoLib/test => tests}/test_glifLib.py (99%) rename {Lib/ufoLib/test => tests}/test_plistlib.py (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/fontinfo.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/A_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/B_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/F_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/F__A__B_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/G_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/O_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/R_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/a.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/contents.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/testglyph1.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/glyphs/testglyph1.reversed.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/lib.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/DemoFont.ufo/metainfo.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/fontinfo.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/glyphs/A_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/glyphs/B_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/glyphs/contents.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/groups.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/kerning.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/lib.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO1).ufo/metainfo.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/features.fea (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/fontinfo.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/glyphs/A_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/glyphs/B_.glif (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/glyphs/contents.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/groups.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/kerning.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/lib.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/TestFont1 (UFO2).ufo/metainfo.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/bar/lol.txt (100%) rename {Lib/ufoLib/test => tests}/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/foo.txt (100%) rename {Lib/ufoLib/test => tests}/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.file.txt (100%) rename {Lib/ufoLib/test => tests}/testdata/UFO3-Read Data.ufo/metainfo.plist (100%) rename {Lib/ufoLib/test => tests}/testdata/test.plist (100%) diff --git a/.coveragerc b/.coveragerc index f159c20bb..3a1018cca 100644 --- a/.coveragerc +++ b/.coveragerc @@ -3,10 +3,6 @@ # See: http://coverage.readthedocs.io/en/coverage-4.5.1/branch.html branch = True -# Don't run codecov on tests -omit = - */test/* - # list of directories or packages to measure source = ufoLib diff --git a/setup.cfg b/setup.cfg index 76dae27fc..52567cef6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,6 +40,7 @@ license_file = LICENSE.txt minversion = 3.0.2 testpaths = ufoLib + tests/ doctest_optionflags = ALLOW_UNICODE ALLOW_BYTES addopts = -r a diff --git a/Lib/ufoLib/test/__init__.py b/tests/__init__.py similarity index 100% rename from Lib/ufoLib/test/__init__.py rename to tests/__init__.py diff --git a/Lib/ufoLib/test/testSupport.py b/tests/testSupport.py similarity index 100% rename from Lib/ufoLib/test/testSupport.py rename to tests/testSupport.py diff --git a/Lib/ufoLib/test/test_GLIF1.py b/tests/test_GLIF1.py similarity index 99% rename from Lib/ufoLib/test/test_GLIF1.py rename to tests/test_GLIF1.py index ecd1783b4..4db1b418a 100644 --- a/Lib/ufoLib/test/test_GLIF1.py +++ b/tests/test_GLIF1.py @@ -2,7 +2,7 @@ from __future__ import absolute_import, unicode_literals import unittest from ufoLib.glifLib import GlifLibError, readGlyphFromString, writeGlyphToString -from ufoLib.test.testSupport import Glyph, stripText +from .testSupport import Glyph, stripText from itertools import islice try: diff --git a/Lib/ufoLib/test/test_GLIF2.py b/tests/test_GLIF2.py similarity index 99% rename from Lib/ufoLib/test/test_GLIF2.py rename to tests/test_GLIF2.py index 87ffb5304..565f1bda0 100644 --- a/Lib/ufoLib/test/test_GLIF2.py +++ b/tests/test_GLIF2.py @@ -2,7 +2,7 @@ from __future__ import absolute_import, unicode_literals import unittest from ufoLib.glifLib import GlifLibError, readGlyphFromString, writeGlyphToString -from ufoLib.test.testSupport import Glyph, stripText +from .testSupport import Glyph, stripText from itertools import islice try: diff --git a/Lib/ufoLib/test/test_UFO1.py b/tests/test_UFO1.py similarity index 98% rename from Lib/ufoLib/test/test_UFO1.py rename to tests/test_UFO1.py index cf1cbbc27..f4a5dc344 100644 --- a/Lib/ufoLib/test/test_UFO1.py +++ b/tests/test_UFO1.py @@ -7,7 +7,7 @@ import tempfile from io import open from ufoLib import UFOReader, UFOWriter, UFOLibError from ufoLib import plistlib -from ufoLib.test.testSupport import fontInfoVersion1, fontInfoVersion2 +from .testSupport import fontInfoVersion1, fontInfoVersion2 class TestInfoObject(object): pass diff --git a/Lib/ufoLib/test/test_UFO2.py b/tests/test_UFO2.py similarity index 99% rename from Lib/ufoLib/test/test_UFO2.py rename to tests/test_UFO2.py index 480390a5f..1c4439bce 100644 --- a/Lib/ufoLib/test/test_UFO2.py +++ b/tests/test_UFO2.py @@ -7,7 +7,7 @@ import tempfile from io import open from ufoLib import UFOReader, UFOWriter, UFOLibError from ufoLib import plistlib -from ufoLib.test.testSupport import fontInfoVersion2 +from .testSupport import fontInfoVersion2 class TestInfoObject(object): pass diff --git a/Lib/ufoLib/test/test_UFO3.py b/tests/test_UFO3.py similarity index 99% rename from Lib/ufoLib/test/test_UFO3.py rename to tests/test_UFO3.py index c47157c6f..916e8ff1c 100644 --- a/Lib/ufoLib/test/test_UFO3.py +++ b/tests/test_UFO3.py @@ -9,7 +9,7 @@ from fontTools.misc.py23 import unicode from ufoLib import UFOReader, UFOWriter, UFOLibError from ufoLib.glifLib import GlifLibError from ufoLib import plistlib -from ufoLib.test.testSupport import fontInfoVersion3 +from .testSupport import fontInfoVersion3 class TestInfoObject(object): pass diff --git a/Lib/ufoLib/test/test_UFOConversion.py b/tests/test_UFOConversion.py similarity index 99% rename from Lib/ufoLib/test/test_UFOConversion.py rename to tests/test_UFOConversion.py index 7c321cc7c..c569a9681 100644 --- a/Lib/ufoLib/test/test_UFOConversion.py +++ b/tests/test_UFOConversion.py @@ -7,7 +7,7 @@ import tempfile from io import open from ufoLib import UFOReader, UFOWriter from ufoLib import plistlib -from ufoLib.test.testSupport import expectedFontInfo1To2Conversion, expectedFontInfo2To1Conversion +from .testSupport import expectedFontInfo1To2Conversion, expectedFontInfo2To1Conversion # the format version 1 lib.plist contains some data diff --git a/Lib/ufoLib/test/test_etree.py b/tests/test_etree.py similarity index 100% rename from Lib/ufoLib/test/test_etree.py rename to tests/test_etree.py diff --git a/Lib/ufoLib/test/test_filenames.py b/tests/test_filenames.py similarity index 100% rename from Lib/ufoLib/test/test_filenames.py rename to tests/test_filenames.py diff --git a/Lib/ufoLib/test/test_glifLib.py b/tests/test_glifLib.py similarity index 99% rename from Lib/ufoLib/test/test_glifLib.py rename to tests/test_glifLib.py index 783592021..a107e4f87 100644 --- a/Lib/ufoLib/test/test_glifLib.py +++ b/tests/test_glifLib.py @@ -4,7 +4,7 @@ import tempfile import shutil import unittest from io import open -from ufoLib.test.testSupport import getDemoFontGlyphSetPath +from .testSupport import getDemoFontGlyphSetPath from ufoLib.glifLib import ( GlyphSet, glyphNameToFileName, readGlyphFromString, writeGlyphToString, _XML_DECLARATION, diff --git a/Lib/ufoLib/test/test_plistlib.py b/tests/test_plistlib.py similarity index 100% rename from Lib/ufoLib/test/test_plistlib.py rename to tests/test_plistlib.py diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/fontinfo.plist b/tests/testdata/DemoFont.ufo/fontinfo.plist similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/fontinfo.plist rename to tests/testdata/DemoFont.ufo/fontinfo.plist diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/A_.glif b/tests/testdata/DemoFont.ufo/glyphs/A_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/A_.glif rename to tests/testdata/DemoFont.ufo/glyphs/A_.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/B_.glif b/tests/testdata/DemoFont.ufo/glyphs/B_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/B_.glif rename to tests/testdata/DemoFont.ufo/glyphs/B_.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/F_.glif b/tests/testdata/DemoFont.ufo/glyphs/F_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/F_.glif rename to tests/testdata/DemoFont.ufo/glyphs/F_.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/F__A__B_.glif b/tests/testdata/DemoFont.ufo/glyphs/F__A__B_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/F__A__B_.glif rename to tests/testdata/DemoFont.ufo/glyphs/F__A__B_.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/G_.glif b/tests/testdata/DemoFont.ufo/glyphs/G_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/G_.glif rename to tests/testdata/DemoFont.ufo/glyphs/G_.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/O_.glif b/tests/testdata/DemoFont.ufo/glyphs/O_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/O_.glif rename to tests/testdata/DemoFont.ufo/glyphs/O_.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/R_.glif b/tests/testdata/DemoFont.ufo/glyphs/R_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/R_.glif rename to tests/testdata/DemoFont.ufo/glyphs/R_.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/a.glif b/tests/testdata/DemoFont.ufo/glyphs/a.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/a.glif rename to tests/testdata/DemoFont.ufo/glyphs/a.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/contents.plist b/tests/testdata/DemoFont.ufo/glyphs/contents.plist similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/contents.plist rename to tests/testdata/DemoFont.ufo/glyphs/contents.plist diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/testglyph1.glif b/tests/testdata/DemoFont.ufo/glyphs/testglyph1.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/testglyph1.glif rename to tests/testdata/DemoFont.ufo/glyphs/testglyph1.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/testglyph1.reversed.glif b/tests/testdata/DemoFont.ufo/glyphs/testglyph1.reversed.glif similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/glyphs/testglyph1.reversed.glif rename to tests/testdata/DemoFont.ufo/glyphs/testglyph1.reversed.glif diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/lib.plist b/tests/testdata/DemoFont.ufo/lib.plist similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/lib.plist rename to tests/testdata/DemoFont.ufo/lib.plist diff --git a/Lib/ufoLib/test/testdata/DemoFont.ufo/metainfo.plist b/tests/testdata/DemoFont.ufo/metainfo.plist similarity index 100% rename from Lib/ufoLib/test/testdata/DemoFont.ufo/metainfo.plist rename to tests/testdata/DemoFont.ufo/metainfo.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/fontinfo.plist b/tests/testdata/TestFont1 (UFO1).ufo/fontinfo.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/fontinfo.plist rename to tests/testdata/TestFont1 (UFO1).ufo/fontinfo.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/glyphs/A_.glif b/tests/testdata/TestFont1 (UFO1).ufo/glyphs/A_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/glyphs/A_.glif rename to tests/testdata/TestFont1 (UFO1).ufo/glyphs/A_.glif diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/glyphs/B_.glif b/tests/testdata/TestFont1 (UFO1).ufo/glyphs/B_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/glyphs/B_.glif rename to tests/testdata/TestFont1 (UFO1).ufo/glyphs/B_.glif diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/glyphs/contents.plist b/tests/testdata/TestFont1 (UFO1).ufo/glyphs/contents.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/glyphs/contents.plist rename to tests/testdata/TestFont1 (UFO1).ufo/glyphs/contents.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/groups.plist b/tests/testdata/TestFont1 (UFO1).ufo/groups.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/groups.plist rename to tests/testdata/TestFont1 (UFO1).ufo/groups.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/kerning.plist b/tests/testdata/TestFont1 (UFO1).ufo/kerning.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/kerning.plist rename to tests/testdata/TestFont1 (UFO1).ufo/kerning.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/lib.plist b/tests/testdata/TestFont1 (UFO1).ufo/lib.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/lib.plist rename to tests/testdata/TestFont1 (UFO1).ufo/lib.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/metainfo.plist b/tests/testdata/TestFont1 (UFO1).ufo/metainfo.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO1).ufo/metainfo.plist rename to tests/testdata/TestFont1 (UFO1).ufo/metainfo.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/features.fea b/tests/testdata/TestFont1 (UFO2).ufo/features.fea similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/features.fea rename to tests/testdata/TestFont1 (UFO2).ufo/features.fea diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/fontinfo.plist b/tests/testdata/TestFont1 (UFO2).ufo/fontinfo.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/fontinfo.plist rename to tests/testdata/TestFont1 (UFO2).ufo/fontinfo.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/glyphs/A_.glif b/tests/testdata/TestFont1 (UFO2).ufo/glyphs/A_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/glyphs/A_.glif rename to tests/testdata/TestFont1 (UFO2).ufo/glyphs/A_.glif diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/glyphs/B_.glif b/tests/testdata/TestFont1 (UFO2).ufo/glyphs/B_.glif similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/glyphs/B_.glif rename to tests/testdata/TestFont1 (UFO2).ufo/glyphs/B_.glif diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/glyphs/contents.plist b/tests/testdata/TestFont1 (UFO2).ufo/glyphs/contents.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/glyphs/contents.plist rename to tests/testdata/TestFont1 (UFO2).ufo/glyphs/contents.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/groups.plist b/tests/testdata/TestFont1 (UFO2).ufo/groups.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/groups.plist rename to tests/testdata/TestFont1 (UFO2).ufo/groups.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/kerning.plist b/tests/testdata/TestFont1 (UFO2).ufo/kerning.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/kerning.plist rename to tests/testdata/TestFont1 (UFO2).ufo/kerning.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/lib.plist b/tests/testdata/TestFont1 (UFO2).ufo/lib.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/lib.plist rename to tests/testdata/TestFont1 (UFO2).ufo/lib.plist diff --git a/Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/metainfo.plist b/tests/testdata/TestFont1 (UFO2).ufo/metainfo.plist similarity index 100% rename from Lib/ufoLib/test/testdata/TestFont1 (UFO2).ufo/metainfo.plist rename to tests/testdata/TestFont1 (UFO2).ufo/metainfo.plist diff --git a/Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/bar/lol.txt b/tests/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/bar/lol.txt similarity index 100% rename from Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/bar/lol.txt rename to tests/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/bar/lol.txt diff --git a/Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/foo.txt b/tests/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/foo.txt similarity index 100% rename from Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/foo.txt rename to tests/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/foo.txt diff --git a/Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.file.txt b/tests/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.file.txt similarity index 100% rename from Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.file.txt rename to tests/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.file.txt diff --git a/Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/metainfo.plist b/tests/testdata/UFO3-Read Data.ufo/metainfo.plist similarity index 100% rename from Lib/ufoLib/test/testdata/UFO3-Read Data.ufo/metainfo.plist rename to tests/testdata/UFO3-Read Data.ufo/metainfo.plist diff --git a/Lib/ufoLib/test/testdata/test.plist b/tests/testdata/test.plist similarity index 100% rename from Lib/ufoLib/test/testdata/test.plist rename to tests/testdata/test.plist