1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-24 11:42:33 +01:00

[tests] '__main__' -> "__main__"

This commit is contained in:
Mike Fährmann 2024-02-27 02:10:05 +01:00
parent 2501adeda0
commit ba062712ad
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
7 changed files with 7 additions and 7 deletions

View File

@ -222,5 +222,5 @@ class TestCache(unittest.TestCase):
self.assertEqual(db.cache[2][0], 6)
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()

View File

@ -214,5 +214,5 @@ class TestConfigFiles(unittest.TestCase):
raise unittest.SkipTest(path + " not available")
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()

View File

@ -455,5 +455,5 @@ def noarg():
self.assertEqual(output, result, format_string)
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()

View File

@ -413,5 +413,5 @@ class TestExtractorAlt(Extractor):
subcategory = "test_subcategory"
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()

View File

@ -152,5 +152,5 @@ class TestShortenEAW(unittest.TestCase):
self.assertEqual(f(s, 19, "") , "幻-想-郷###幻-想-郷")
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()

View File

@ -457,5 +457,5 @@ class TestText(unittest.TestCase):
self.assertEqual(f("1970.01.01"), "1970.01.01")
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()

View File

@ -774,5 +774,5 @@ class TestExtractorAlt(TestExtractor):
subcategory = "test_subcategory"
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()