(self, *fps)
| 175 | class TestFileTrack(TestFile): |
| 176 | |
| 177 | def __assert_track_untracked(self, *fps): |
| 178 | root = self.repo.root |
| 179 | for fp in fps: |
| 180 | fp = os.path.relpath(fp, root) |
| 181 | self.curr_b.track_file(fp) |
| 182 | st = self.curr_b.status_file(fp) |
| 183 | self.assertEqual( |
| 184 | core.GL_STATUS_TRACKED, st.type, |
| 185 | 'Track of fp "{0}" failed: expected status.type={1}, got ' |
| 186 | 'status.type={2}'.format(fp, core.GL_STATUS_TRACKED, st.type)) |
| 187 | |
| 188 | @assert_contents_unchanged( |
| 189 | UNTRACKED_FP, UNTRACKED_FP_WITH_SPACE, |
no test coverage detected