(self)
| 211 | self.__assert_commit(self.UNTRACKED_FP, self.DIR_TRACKED_FP) |
| 212 | |
| 213 | def test_commit_no_files(self): |
| 214 | self.assertRaises( |
| 215 | ErrorReturnCode, gl.commit, '--exclude', |
| 216 | self.TRACKED_FP, self.DIR_TRACKED_FP, m='msg') |
| 217 | self.assertRaises(ErrorReturnCode, gl.commit, 'non-existent', m='msg') |
| 218 | self.assertRaises( |
| 219 | ErrorReturnCode, gl.commit, m='msg', exclude='non-existent') |
| 220 | self.assertRaises( |
| 221 | ErrorReturnCode, gl.commit, m='msg', include='non-existent') |
| 222 | |
| 223 | def test_commit_dir(self): |
| 224 | fp = 'dir/f' |
nothing calls this directly
no outgoing calls
no test coverage detected