(self, *expected_committed)
| 227 | self.__assert_commit('dir/f') |
| 228 | |
| 229 | def __assert_commit(self, *expected_committed): |
| 230 | h = utils.stdout(gl.history(v=True)) |
| 231 | for fp in expected_committed: |
| 232 | if fp not in h: |
| 233 | self.fail('{0} was apparently not committed!'.format(fp)) |
| 234 | expected_not_committed = [ |
| 235 | fp for fp in self.FPS if fp not in expected_committed] |
| 236 | for fp in expected_not_committed: |
| 237 | if fp in h: |
| 238 | self.fail('{0} was apparently committed!'.format(fp)) |
| 239 | |
| 240 | |
| 241 | class TestStatus(TestEndToEnd): |
no test coverage detected