[Notes] [Git][BuildStream/buildstream][bschubert/fix-atomic-move-git-repo] fixup! Fix os.rename in git source element to correctly handle error codes



Title: GitLab

Benjamin Schubert pushed to branch bschubert/fix-atomic-move-git-repo at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • tests/sources/git.py
    ... ... @@ -52,7 +52,7 @@ def test_git_mirror_atomic_move(tmpdir, type_, setup):
    52 52
         # Create required elements
    
    53 53
         class DummySource:
    
    54 54
             def get_mirror_directory(self):
    
    55
    -            return tmpdir.join("source").mkdir()
    
    55
    +            return str(tmpdir.join("source").mkdir())
    
    56 56
     
    
    57 57
             status = mock.MagicMock()
    
    58 58
     
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]