Skip to content

Commit

Permalink
Fix a broken unit test
Browse files Browse the repository at this point in the history
We now initialize the folders when initializing the settings, so the
test that the folder didn't yet exist before retrieving its path
naturally failed.
  • Loading branch information
foosel committed May 3, 2018
1 parent 9addbbb commit ddd2711
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/settings/test_settings.py
Expand Up @@ -57,8 +57,6 @@ def test_basedir_folder_creation(self):
expected_timelapse_tmp_folder = os.path.join(basedir, "timelapse", "tmp")

# test
self.assertFalse(os.path.isdir(expected_upload_folder))

upload_folder = settings.getBaseFolder("uploads")
timelapse_folder = settings.getBaseFolder("timelapse")
timelapse_tmp_folder = settings.getBaseFolder("timelapse_tmp")
Expand Down

0 comments on commit ddd2711

Please sign in to comment.