(self)
| 490 | self.assertRaises(KeyError, self.curr_b.status_file, UNTRACKED_FP) |
| 491 | |
| 492 | def test_status_track_untrack(self): |
| 493 | self.curr_b.track_file(UNTRACKED_FP) |
| 494 | st = self.curr_b.status_file(UNTRACKED_FP) |
| 495 | self.assertEqual(core.GL_STATUS_TRACKED, st.type) |
| 496 | self.assertTrue(st.modified) |
| 497 | |
| 498 | self.curr_b.untrack_file(UNTRACKED_FP) |
| 499 | st = self.curr_b.status_file(UNTRACKED_FP) |
| 500 | self.assertEqual(core.GL_STATUS_UNTRACKED, st.type) |
| 501 | self.assertTrue(st.modified) |
| 502 | |
| 503 | def test_status_unignore(self): |
| 504 | utils_lib.write_file('.gitignore', contents='') |
nothing calls this directly
no test coverage detected