Show More
@@ -318,7 +318,8 b' def obfuscate_url_pw(engine):' | |||
|
318 | 318 | return str(_url) |
|
319 | 319 | |
|
320 | 320 | |
|
321 |
class HookEnvironmentError(Exception): |
|
|
321 | class HookEnvironmentError(Exception): | |
|
322 | pass | |
|
322 | 323 | |
|
323 | 324 | |
|
324 | 325 | def get_hook_environment(): |
@@ -591,7 +591,8 b' class TestVCSOperations(base.TestControl' | |||
|
591 | 591 | assert 'HTTP Error 500: INTERNAL SERVER ERROR' in stderr |
|
592 | 592 | elif vt is HgSshVcsTest: |
|
593 | 593 | assert 'remote: Exception: exception_test_hook threw an exception' in stdout |
|
594 |
else: |
|
|
594 | else: | |
|
595 | assert False | |
|
595 | 596 | # there are still outgoing changesets |
|
596 | 597 | stdout, stderr = _check_outgoing(vt.repo_type, dest_dir, clone_url) |
|
597 | 598 | assert stdout != '' |
General Comments 0
You need to be logged in to leave comments.
Login now