c:\Tom\git\leo-editor>py -m unittest %*
E
======================================================================
ERROR: %* (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: %*
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\unittest\loader.py", line 154, in
loadTestsFromName
module = __import__(module_name)
ModuleNotFoundError: No module named '%*'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
On Wednesday, February 16, 2022 at 3:05:13 PM UTC-5 Edward K. Ream wrote:
> On Wednesday, February 16, 2022 at 11:34:47 AM UTC-6 Edward K. Ream wrote:
>
> I have already revoked the permissions for TravisCI. The next steps:
>>
>> - Remove the TravisCI files from both master and devel (using PR's),
>> thereby disabling unit tests on all commits.
>> - Disable (convert @clean to @@clean) the corresponding nodes in
>> leoDist.leo.
>>
>
> Done directly in master at rev 58f2dd9
> <https://github.com/leo-editor/leo-editor/commit/58f2dd96766185470917b00153bd16ad2c6856aa>.
>
> Done in devel via PR #2429
> <https://github.com/leo-editor/leo-editor/pull/2429>. leoDist.leo
> contains @@@clean nodes for the deleted files, so it should be
> straightforward to restore the status quo ante should that seem desirable.
>
> So now Thomas and I are responsible for running tests manually. To run
> pylint on all files, execute the following:
>
> cd C:\leo.repo\leo-editor
> python -m pylint-leo %*
>
> To run Leo's test-all command, execute the following in the leo-editor
> directory:
>
> cd C:\leo.repo\leo-editor
> python -m unittest %*
>
> That's easy enough! The scripts shown above are for Windows .cmd files.
> Linux scripts would be similar.
>
> Edward
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/b24c5dc6-74c9-4e0b-bc82-7f93ce0e833cn%40googlegroups.com.