Lack of test coverage for basic genshi directives
Bug #502821 reported by
Cory Dodt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txGenshi |
Fix Released
|
Undecided
|
Cory Dodt |
Bug Description
Do some unit testing of the basic template directives, including the use of nevow directives at the same time. This can be as simple as verifying the output of the genshimix demo.
To post a comment you must log in.
Added example.py and test for it. These very simple tests get us to 65% statement coverage:
txgenshi/__init__ 7 7 0 100% test/__ init__ 1 1 0 100% test/test_ example 31 30 0 97% test/test_ util 11 11 0 100%
txgenshi/example 21 21 0 100%
txgenshi/loader 58 46 0 79%
txgenshi/
txgenshi/
txgenshi/
txgenshi/util 116 44 0 38%
100% coverage on loader will only require me to use genshistr in a test, so I'll add that. Not sure what's going on in util yet; I may save that for another bug.