mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fix flake8 E302 expected 2 blank lines, found 1
This commit is contained in:
parent
a571fc3122
commit
032f7456f9
2 changed files with 9 additions and 0 deletions
|
@ -8,28 +8,35 @@ def test_eol():
|
||||||
import eol
|
import eol
|
||||||
eol.check()
|
eol.check()
|
||||||
|
|
||||||
|
|
||||||
def test_cleanup():
|
def test_cleanup():
|
||||||
import cleanup
|
import cleanup
|
||||||
cleanup.clean(cleanup.FOLDER_STRUCTURE)
|
cleanup.clean(cleanup.FOLDER_STRUCTURE)
|
||||||
|
|
||||||
|
|
||||||
def test_import_core():
|
def test_import_core():
|
||||||
import core
|
import core
|
||||||
from core import logger, main_db
|
from core import logger, main_db
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_auto_process():
|
def test_import_core_auto_process():
|
||||||
from core.auto_process import comics, games, movies, music, tv
|
from core.auto_process import comics, games, movies, music, tv
|
||||||
from core.auto_process.common import ProcessResult
|
from core.auto_process.common import ProcessResult
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_plugins():
|
def test_import_core_plugins():
|
||||||
from core.plugins.downloaders.nzb.utils import get_nzoid
|
from core.plugins.downloaders.nzb.utils import get_nzoid
|
||||||
from core.plugins.plex import plex_update
|
from core.plugins.plex import plex_update
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_user_scripts():
|
def test_import_core_user_scripts():
|
||||||
from core.user_scripts import external_script
|
from core.user_scripts import external_script
|
||||||
|
|
||||||
|
|
||||||
def test_import_six():
|
def test_import_six():
|
||||||
from six import text_type
|
from six import text_type
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_utils():
|
def test_import_core_utils():
|
||||||
from core.utils import (
|
from core.utils import (
|
||||||
char_replace, clean_dir, convert_to_ascii,
|
char_replace, clean_dir, convert_to_ascii,
|
||||||
|
@ -44,5 +51,6 @@ def test_initial():
|
||||||
core.initialize()
|
core.initialize()
|
||||||
del core.MYAPP
|
del core.MYAPP
|
||||||
|
|
||||||
|
|
||||||
def test_core_parameters():
|
def test_core_parameters():
|
||||||
assert core.CHECK_MEDIA == 1
|
assert core.CHECK_MEDIA == 1
|
||||||
|
|
|
@ -10,5 +10,6 @@ import requests
|
||||||
import core
|
import core
|
||||||
from core import logger, transcoder
|
from core import logger, transcoder
|
||||||
|
|
||||||
|
|
||||||
def test_transcoder_check():
|
def test_transcoder_check():
|
||||||
assert transcoder.is_video_good(core.TEST_FILE, 0) == True
|
assert transcoder.is_video_good(core.TEST_FILE, 0) == True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue