made runtests init flake8/pylint conforming
This commit is contained in:
parent
ae416bc650
commit
9790785c08
@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
Test Onionr as it is running
|
Test Onionr as it is running
|
||||||
"""
|
"""
|
||||||
|
import logger
|
||||||
|
from onionrutils import epoch
|
||||||
|
|
||||||
|
from . import uicheck, inserttest, stresstest
|
||||||
"""
|
"""
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -17,12 +21,11 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
import logger
|
|
||||||
from onionrutils import epoch
|
|
||||||
|
|
||||||
from . import uicheck, inserttest, stresstest
|
RUN_TESTS = [uicheck.check_ui,
|
||||||
|
inserttest.insert_bin_test,
|
||||||
|
stresstest.stress_test_block_insert]
|
||||||
|
|
||||||
RUN_TESTS = [uicheck.check_ui, inserttest.insert_bin_test, stresstest.stress_test_block_insert]
|
|
||||||
|
|
||||||
class OnionrRunTestManager:
|
class OnionrRunTestManager:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -39,4 +42,3 @@ class OnionrRunTestManager:
|
|||||||
logger.info(last.__name__ + " passed")
|
logger.info(last.__name__ + " passed")
|
||||||
except ValueError:
|
except ValueError:
|
||||||
logger.error(last.__name__ + ' failed')
|
logger.error(last.__name__ + ' failed')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user