1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 04:02:32 +01:00

adjust postprocessor test results

see 2495b99
This commit is contained in:
Mike Fährmann 2019-08-21 23:54:08 +02:00
parent 7d6af936c5
commit e528f3cb77
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 4 additions and 3 deletions

View File

@ -95,7 +95,7 @@ class ClassifyTest(BasePostprocessorTest):
pp.prepare(self.pathfmt)
path = os.path.join(self.dir.name, "test", "Pictures")
self.assertEqual(pp._dir, path)
self.assertEqual(self.pathfmt.path, path + "/file.jpg")
self.assertEqual(self.pathfmt.realpath, path + "/file.jpg")
with patch("os.makedirs") as mkdirs:
@ -107,7 +107,7 @@ class ClassifyTest(BasePostprocessorTest):
rp = self.pathfmt.realpath
pp.prepare(self.pathfmt)
self.assertEqual(pp._dir, None)
self.assertEqual(self.pathfmt.path, rp)
self.assertEqual(self.pathfmt.realpath, rp)
with patch("os.makedirs") as mkdirs:
@ -127,7 +127,7 @@ class ClassifyTest(BasePostprocessorTest):
pp.prepare(self.pathfmt)
path = os.path.join(self.dir.name, "test", "foo", "bar")
self.assertEqual(pp._dir, path)
self.assertEqual(self.pathfmt.path, path + "/file.foo")
self.assertEqual(self.pathfmt.realpath, path + "/file.foo")
with patch("os.makedirs") as mkdirs:

View File

@ -29,6 +29,7 @@ BROKEN = {
"8chan",
"imgth",
"mangapark",
"simplyhentai",
}