[35photo] add user-, genre-, and image-extractors (#162)

This commit is contained in:
Mike Fährmann
2019-03-18 01:11:30 +01:00
parent fb14f80d62
commit 6277a739e4
5 changed files with 210 additions and 0 deletions

View File

@@ -177,6 +177,8 @@ class TestExtractor(unittest.TestCase):
capitalize(category),
capitalize(extr.subcategory),
)
if expected[0].isdigit():
expected = "_" + expected
self.assertEqual(expected, extr.__name__)