Docker and testing changes
[wolnelektury.git] / src / catalogue / test_utils.py
index f5d98ca..6ad67c7 100644 (file)
@@ -38,10 +38,13 @@ class PersonStub:
 
 
 class BookInfoStub:
-    _empty_fields = ['cover_url', 'variant_of']
+    _empty_fields = ['cover_url', 'variant_of', 'license']
     # allow single definition for multiple-value fields
     _salias = {
         'authors': 'author',
+        'genres': 'genre',
+        'epochs': 'epoch',
+        'kinds': 'kind',
     }
 
     def __init__(self, **kwargs):