| 50 | |
| 51 | |
| 52 | class TestNotInRepo(utils.TestBase): |
| 53 | |
| 54 | def setUp(self): |
| 55 | super(TestNotInRepo, self).setUp('gl-e2e-test') |
| 56 | |
| 57 | def test_not_in_repo(self): |
| 58 | def assert_not_in_repo(*cmds): |
| 59 | for cmd in cmds: |
| 60 | self.assertRaisesRegexp( |
| 61 | ErrorReturnCode, 'not in a Gitless\'s repository', cmd) |
| 62 | |
| 63 | assert_not_in_repo( |
| 64 | gl.status, gl.diff, gl.commit, gl.branch, gl.merge, gl.fuse, gl.remote, |
| 65 | gl.publish, gl.history) |
| 66 | |
| 67 | |
| 68 | class TestBasic(TestEndToEnd): |
nothing calls this directly
no outgoing calls
no test coverage detected