0%

Django ERROR polls..AppleDouble (unittest.loader._FailedTest)

You got the ERROR: polls..AppleDouble (unittest.loader._FailedTest) when you run the unit test on Django. It means OSX create the .AppleDouble folders in your Django project.

$ find . -name .AppleDouble
./.vscode/.AppleDouble
./.AppleDouble
./__pycache__/.AppleDouble
./polls/templates/.AppleDouble
./polls/templates/polls/.AppleDouble
./polls/.AppleDouble
./polls/__pycache__/.AppleDouble
./mysite/.AppleDouble
./mysite/__pycache__/.AppleDouble

Delete all of .AppleDouble and the problems solved.

$ find . -name .AppleDouble | xargs rm -rf

Updated:
Best solution. You can disable to create .AppleDouble on OSX.

$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true