Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
try fix appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
antonagestam committed Jan 5, 2017
1 parent be5f580 commit bbb0dd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions collectfast/tests/test_etag.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ def test_get_destroy_etag(case, mocked):

@test
def test_get_file_hash(case):
# disable this test on appveyor until permissions issue is solved
if platform.system() == 'Windows':
return
storage = StaticFilesStorage()
with tempfile.NamedTemporaryFile(dir=storage.base_location) as f:
f.write(b'spam')
Expand Down
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def main():
os.makedirs(staticfiles_dir)
if not os.path.exists(staticroot_dir):
os.makedirs(staticroot_dir)
os.chmod(staticroot_dir, 0o777)

settings.configure(**{
# Set USE_TZ to True to work around bug in django-storages
Expand Down

0 comments on commit bbb0dd3

Please sign in to comment.