forked from expo/troggle
regularising _URL and _ROOT idiom
This commit is contained in:
@@ -105,7 +105,7 @@ class PostTests(TestCase):
|
||||
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
|
||||
|
||||
# Does not use the filename Django actually uses, assumes it is unchanged. Potential bug.
|
||||
remove_file = pathlib.Path(settings.SURVEY_SCANS) / '2020' / '2020#00'/ 'test_upload_file.txt'
|
||||
remove_file = pathlib.Path(settings.SCANS_ROOT) / '2020' / '2020#00'/ 'test_upload_file.txt'
|
||||
remove_file.unlink()
|
||||
|
||||
def test_photo_upload(self):
|
||||
|
||||
Reference in New Issue
Block a user