mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-24 03:32:33 +01:00
[tests] '__main__' -> "__main__"
This commit is contained in:
parent
2501adeda0
commit
ba062712ad
@ -222,5 +222,5 @@ class TestCache(unittest.TestCase):
|
||||
self.assertEqual(db.cache[2][0], 6)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
@ -214,5 +214,5 @@ class TestConfigFiles(unittest.TestCase):
|
||||
raise unittest.SkipTest(path + " not available")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
@ -455,5 +455,5 @@ def noarg():
|
||||
self.assertEqual(output, result, format_string)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
@ -413,5 +413,5 @@ class TestExtractorAlt(Extractor):
|
||||
subcategory = "test_subcategory"
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
@ -152,5 +152,5 @@ class TestShortenEAW(unittest.TestCase):
|
||||
self.assertEqual(f(s, 19, "") , "幻-想-郷###幻-想-郷")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
@ -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()
|
||||
|
@ -774,5 +774,5 @@ class TestExtractorAlt(TestExtractor):
|
||||
subcategory = "test_subcategory"
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user