Test validate no names
(self)
| 129 | ['a', 'b', 'c', 'g0', 'g1']) |
| 130 | |
| 131 | def test_validate_wo_names(self): |
| 132 | "Test validate no names" |
| 133 | namelist = None |
| 134 | validator = NameValidator() |
| 135 | assert_(validator(namelist) is None) |
| 136 | assert_equal(validator(namelist, nbfields=3), ['f0', 'f1', 'f2']) |
| 137 | |
| 138 | # ----------------------------------------------------------------------------- |
| 139 |
nothing calls this directly
no test coverage detected