[tests] move 'e621:frontend' tests into regular results/e621.py

having both e621.py and E621.py in the same directory messes with
Windows

6e919a3695 (commitcomment-152557303)
This commit is contained in:
Mike Fährmann
2025-02-14 17:44:14 +01:00
parent 51f978e027
commit 195b52284a
2 changed files with 14 additions and 25 deletions

View File

@@ -1,25 +0,0 @@
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
from gallery_dl.extractor import e621
__tests__ = (
{
"#url" : "https://e621.cc/?tags=rating:safe",
"#category": ("E621", "e621", "frontend"),
"#class" : e621.E621FrontendExtractor,
"#urls" : "https://e621.net/posts?tags=rating:safe",
},
{
"#url" : "https://e621.anthro.fr/?q=rating:safe",
"#category": ("E621", "e621", "frontend"),
"#class" : e621.E621FrontendExtractor,
"#urls" : "https://e621.net/posts?tags=rating:safe",
},
)

View File

@@ -147,4 +147,18 @@ __tests__ = (
"#count" : "> 260",
},
{
"#url" : "https://e621.cc/?tags=rating:safe",
"#category": ("E621", "e621", "frontend"),
"#class" : e621.E621FrontendExtractor,
"#urls" : "https://e621.net/posts?tags=rating:safe",
},
{
"#url" : "https://e621.anthro.fr/?q=rating:safe",
"#category": ("E621", "e621", "frontend"),
"#class" : e621.E621FrontendExtractor,
"#urls" : "https://e621.net/posts?tags=rating:safe",
},
)