Changeset - 0e7dab998984
[Not reviewed]
default
0 2 0
Mads Kiilerich - 3 years ago 2023-03-05 11:56:05
mads@kiilerich.com
ruff: fix multiple statements on one line
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/utils2.py
Show inline comments
 
@@ -318,7 +318,8 @@ def obfuscate_url_pw(engine):
 
    return str(_url)
 

	
 

	
 
class HookEnvironmentError(Exception): pass
 
class HookEnvironmentError(Exception):
 
    pass
 

	
 

	
 
def get_hook_environment():
kallithea/tests/other/test_vcs_operations.py
Show inline comments
 
@@ -591,7 +591,8 @@ class TestVCSOperations(base.TestControl
 
            assert 'HTTP Error 500: INTERNAL SERVER ERROR' in stderr
 
        elif vt is HgSshVcsTest:
 
            assert 'remote: Exception: exception_test_hook threw an exception' in stdout
 
        else: assert False
 
        else:
 
            assert False
 
        # there are still outgoing changesets
 
        stdout, stderr = _check_outgoing(vt.repo_type, dest_dir, clone_url)
 
        assert stdout != ''
0 comments (0 inline, 0 general)