diff --git a/ietf/person/factories.py b/ietf/person/factories.py index 4cf36b367..45e163c2f 100644 --- a/ietf/person/factories.py +++ b/ietf/person/factories.py @@ -96,6 +96,8 @@ class PersonFactory(factory.DjangoModelFactory): obj.photo_thumb = media_name photosrc = os.path.join(settings.TEST_DATA_DIR, "profile-default.jpg") photodst = os.path.join(settings.PHOTOS_DIR, photo_name + '.jpg') + debug.show('photosrc') + debug.show('photodst') if not os.path.exists(photodst): shutil.copy(photosrc, photodst) def delete_file(file): diff --git a/ietf/settings_releasetest.py b/ietf/settings_releasetest.py index aea0b0f9a..dfc7971a5 100644 --- a/ietf/settings_releasetest.py +++ b/ietf/settings_releasetest.py @@ -35,5 +35,9 @@ DATABASES = { if TEST_CODE_COVERAGE_CHECKER and not TEST_CODE_COVERAGE_CHECKER._started: # pyflakes:ignore TEST_CODE_COVERAGE_CHECKER.start() # pyflakes:ignore +MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'test/media/') # pyflakes:ignore +MEDIA_URL = '/test/media/' +PHOTOS_DIR = MEDIA_ROOT + PHOTOS_DIRNAME # pyflakes:ignore + REQUEST_PROFILE_STORE_ANONYMOUS_SESSIONS = False - \ No newline at end of file + diff --git a/release-coverage.json.gz b/release-coverage.json.gz index 180d14991..e110ad853 100644 Binary files a/release-coverage.json.gz and b/release-coverage.json.gz differ