Comments (1)
Tested on Windows 10 with Python 3.6.2 and 3.7.1 and problem still occurs:
python setup.py test -s tests.backbacker.commands.test_git.GitCloneTestCase
...
test_execute_folder (tests.backbacker.commands.test_git.GitCloneTestCase) ... Cloning into 'C:\Users\christof\AppData\Local\Temp\gitCloneTest5x45nj0g\cloned'...
done.
ok
test_execute_url (tests.backbacker.commands.test_git.GitCloneTestCase) ... Cloning into 'C:\Users\christof\AppData\Local\Temp\gitCloneTestvkas4lyh\cloned'...
remote: Enumerating objects: 340, done.
remote: Counting objects: 100% (340/340), done.
remote: Compressing objects: 100% (175/175), done.
Rremote: Total 887 (delta 221), reused 269 (delta 161), pack-reused 547
Receiving objects: 100% (887/887), 161.03 KiB | 0 bytes/s, done.
Resolving deltas: 100% (576/576), done.
ERROR
======================================================================
ERROR: test_execute_url (tests.backbacker.commands.test_git.GitCloneTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "...\backbacker\tests\backbacker\commands\test_git.py", line 18, in tearDown
self._dst_dir_tmp.cleanup()
File "...\BackBacker\venv\lib\tempfile.py", line 809, in cleanup
_shutil.rmtree(self.name)
File "...\BackBacker\venv\lib\shutil.py", line 507, in rmtree
return _rmtree_unsafe(path, onerror)
File "...\BackBacker\venv\lib\shutil.py", line 386, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "...\BackBacker\venv\lib\shutil.py", line 386, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "...\BackBacker\venv\lib\shutil.py", line 386, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
[Previous line repeated 1 more time]
File "...\BackBacker\venv\lib\shutil.py", line 391, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "...\BackBacker\venv\lib\shutil.py", line 389, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Zugriff verweigert: 'C:\\Users\\christof\\AppData\\Local\\Temp\\gitCloneTestvkas4lyh\\cloned\\.git\\objects\\pack\\pack-c472ea50f661132a1024520161925459e9ecabd0.idx'
----------------------------------------------------------------------
Ran 2 tests in 2.219s
FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=2 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=2 errors=1 failures=0>
from backbacker.
Related Issues (14)
- Create a Build System
- Investigate duplicity
- Create a Singleton Config Object
- Refactor Command Parsing using Argparse
- Support Variables in Job Script HOT 1
- Create SSH/SCP Command
- Git: Git clone not working with URLs HOT 1
- Export/BackUp VirtualBox Machines HOT 1
- Code Quality: pylint & pycodestyle
- Robocopy support HOT 1
- GithubBundleCliCommand does not contain all branches
- GitHub REST-API broken
- Re-structure to python project template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backbacker.