dbm-agent icon indicating copy to clipboard operation
dbm-agent copied to clipboard

testunit syntax error

Open martin-ly opened this issue 6 years ago • 2 comments

`[root@slave1 dbm-agent-master]# python3 --version Python 3.8.0 [root@slave1 dbm-agent-master]# bash autotest.sh useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Creating mailbox file: File exists .............E.........useradd: user 'mysql' already exists ..............s

ERROR: test_dbmaconfig (unittest.loader._FailedTest)

ImportError: Failed to import test module: test_dbmaconfig Traceback (most recent call last): File "/usr/lib64/python3.8/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.8/unittest/loader.py", line 377, in _get_module_from_name import(name) File "/root/dbm-agent-master/tests/test_dbmaconfig.py", line 10 class TestConfigMixinTestCase(unittest.TestCase) ^ SyntaxError: invalid syntax


Ran 38 tests in 7.626s

FAILED (errors=1, skipped=1) [root@slave1 dbm-agent-master]# `

martin-ly avatar Nov 15 '20 00:11 martin-ly

Fixed

Neeky avatar Nov 23 '20 01:11 Neeky

bash autotest.sh .....................................

Ran 37 tests in 0.390s

OK

Neeky avatar Nov 25 '20 14:11 Neeky