<path>\KSP_doc\Source>python -m unittest discover -v -s ".\tests" -t "."
tests.test_main (unittest.loader._FailedTest) ... ERROR
test_MakeIndex (tests.test_make.WriteTest) ... ok
test_WriteFile (tests.test_make.WriteTest) ... ok
======================================================================
ERROR: tests.test_main (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_main
Traceback (most recent call last):
File "C:\Users\Levitanus\AppData\Local\Programs\Python\Python36-32\lib\unittest\loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "C:\Users\Levitanus\AppData\Local\Programs\Python\Python36-32\lib\unittest\loader.py", line 369, in _get_module_from_name
__import__(name)
File "<path>\KSP_doc\Source\tests\test_main.py", line 4, in <module>
import main
File "<path>\KSP_doc\Source\main.py", line 74
def WriteDocstringToFile(self, Lines, objList, objClass)
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
Ran 3 tests in 0.016s
FAILED (errors=1)
<path>\KSP_doc\Source>python -m unittest discover -v -s ".\tests" -t "."
test_CheckDockstring (tests.test_main.FileTest) ... ERROR
test_CheckImport (tests.test_main.FileTest) ... ok
test_MakeIndex (tests.test_make.WriteTest) ... ok
test_WriteFile (tests.test_make.WriteTest) ... ok
======================================================================
ERROR: test_CheckDockstring (tests.test_main.FileTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "<path>\KSP_doc\Source\tests\test_main.py", line 62, in test_CheckDockstring
self.file.CheckDocstrings(test_source)
File "<path>\KSP_doc\Source\main.py", line 72, in CheckDocstrings
WriteDocstringToFile(Lines, self.Docstrings, self.Docstring)
NameError: name 'WriteDocstringToFile' is not defined
----------------------------------------------------------------------
Ran 4 tests in 0.019s
FAILED (errors=1)
<path>\KSP_doc\Source>python -m unittest discover -v -s ".\tests" -t "."
test_CheckDockstring (tests.test_main.FileTest) ... ok
test_CheckImport (tests.test_main.FileTest) ... ok
test_MakeIndex (tests.test_make.WriteTest) ... ok
test_WriteFile (tests.test_make.WriteTest) ... ok
----------------------------------------------------------------------
Ran 4 tests in 0.019s
OK