(self, *fps)
| 263 | class TestFileUntrack(TestFile): |
| 264 | |
| 265 | def __assert_untrack_tracked(self, *fps): |
| 266 | root = self.repo.root |
| 267 | for fp in fps: |
| 268 | fp = os.path.relpath(fp, root) |
| 269 | self.curr_b.untrack_file(fp) |
| 270 | st = self.curr_b.status_file(fp) |
| 271 | self.assertEqual( |
| 272 | core.GL_STATUS_UNTRACKED, st.type, |
| 273 | 'Untrack of fp "{0}" failed: expected status.type={1}, got ' |
| 274 | 'status.type={2}'.format(fp, core.GL_STATUS_UNTRACKED, st.type)) |
| 275 | |
| 276 | @assert_contents_unchanged( |
| 277 | TRACKED_FP, TRACKED_FP_WITH_SPACE, |
no test coverage detected