From ea84031b87dff48b5eedbb5a449b9233d42b5c45 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Fri, 4 Aug 2023 21:04:21 -0700 Subject: [PATCH] Add more 4-digit issue number tests --- testing/filenames.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/testing/filenames.py b/testing/filenames.py index e10f57c..ce62d84 100644 --- a/testing/filenames.py +++ b/testing/filenames.py @@ -87,6 +87,38 @@ names = [ }, (False, False), ), + ( + "action comics 1024.cbz", + "issue number is current year (digits == 4)", + { + "issue": "1024", + "series": "action comics", + "title": "", + "publisher": "", + "volume": "", + "year": "", + "remainder": "", + "issue_count": "", + "alternate": "", + }, + (False, False), + ), + ( + "Action Comics 1001 (2018).cbz", + "issue number is current year (digits == 4)", + { + "issue": "1001", + "series": "Action Comics", + "title": "", + "publisher": "", + "volume": "", + "year": "2018", + "remainder": "", + "issue_count": "", + "alternate": "", + }, + (False, False), + ), ( "january jones #2.cbz", "month in series",