Test validate missing names
(self)
| 109 | assert_equal(test, ['dates_', 'data_', 'Other_Data', 'mask_']) |
| 110 | |
| 111 | def test_missing_names(self): |
| 112 | "Test validate missing names" |
| 113 | namelist = ('a', 'b', 'c') |
| 114 | validator = NameValidator() |
| 115 | assert_equal(validator(namelist), ['a', 'b', 'c']) |
| 116 | namelist = ('', 'b', 'c') |
| 117 | assert_equal(validator(namelist), ['f0', 'b', 'c']) |
| 118 | namelist = ('a', 'b', '') |
| 119 | assert_equal(validator(namelist), ['a', 'b', 'f0']) |
| 120 | namelist = ('', 'f0', '') |
| 121 | assert_equal(validator(namelist), ['f1', 'f0', 'f2']) |
| 122 | |
| 123 | def test_validate_nb_names(self): |
| 124 | "Test validate nb names" |
nothing calls this directly
no test coverage detected