Feature #1739

Implement cscript Python module unit tests

Added by Knödlseder Jürgen almost 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:03/12/2016
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

20%

Category:-
Target version:1.1.0
Duration:

Description

The cscripts Python module is so far not tested. Unit tests should be implemented for that.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen almost 9 years ago

  • % Done changed from 0 to 20

I added a test_python_scripts Python test and renamed test_python to test_python_ctools. The cscripts Python module tests are also installed and can be invoked using

$ python -c 'import cscripts; cscripts.test()'
similar to the ctools unit tests.

So far, only the cscaldb class is tested.

#2 Updated by Knödlseder Jürgen over 8 years ago

  • Status changed from New to Closed

All cscripts now have both command line and Python unit tests.

Also available in: Atom PDF