Changeset - f55891e42e0e
[Not reviewed]
default
0 1 0
domruf - 9 years ago 2016-06-14 19:33:42
dominikruf@gmail.com
tests: check Released lock message test_push_unlocks_repository_git

An assert has been commented out since the beginning of Kallithea. Now enable
it again.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/other/manual_test_vcs_operations.py
Show inline comments
 
@@ -491,13 +491,13 @@ class TestVCSOperations(TestController):
 
        assert r.locked[0] == User.get_by_username(TEST_USER_ADMIN_LOGIN).user_id
 

	
 
        #push is ok and repo is now unlocked
 
        stdout, stderr = _add_files_and_push('git', DEST)
 
        _check_proper_git_push(stdout, stderr)
 

	
 
        #assert ('remote: Released lock on repo `%s`' % GIT_REPO) in stdout
 
        assert ('remote: Released lock on repo `%s`' % GIT_REPO) in stderr
 
        #we need to cleanup the Session Here !
 
        Session.remove()
 
        r = Repository.get_by_repo_name(GIT_REPO)
 
        assert r.locked == [None, None]
 

	
 
    def test_ip_restriction_hg(self):
0 comments (0 inline, 0 general)