diff --git a/pavelib/assets.py b/pavelib/assets.py index a70c083fac027443e697f253a4efa37b201cb1cb..1faa8facdb51da6bf6dabbf802d5fe9382bd199f 100644 --- a/pavelib/assets.py +++ b/pavelib/assets.py @@ -378,7 +378,7 @@ def collect_assets(systems, settings): `settings` is the Django settings module to use. """ for sys in systems: - sh(django_cmd(sys, settings, "collectstatic --clear --noinput")) + sh(django_cmd(sys, settings, "collectstatic --noinput > /dev/null")) print("\t\tFinished collecting {} assets.".format(sys)) diff --git a/pavelib/paver_tests/test_servers.py b/pavelib/paver_tests/test_servers.py index 1c3b2f6964355c8be4286514d0665a95d6b63ecc..126f016670d538c8141d6cef5fe4a42149d58223 100644 --- a/pavelib/paver_tests/test_servers.py +++ b/pavelib/paver_tests/test_servers.py @@ -28,7 +28,7 @@ EXPECTED_PREPROCESS_ASSETS_COMMAND = ( u" {system}/static/sass/*.scss {system}/static/themed_sass" ) EXPECTED_COLLECT_STATIC_COMMAND = ( - u"python manage.py {system} --settings={asset_settings} collectstatic --clear --noinput" + u"python manage.py {system} --settings={asset_settings} collectstatic --noinput > /dev/null" ) EXPECTED_CELERY_COMMAND = ( u"python manage.py lms --settings={settings} celery worker --beat --loglevel=INFO --pythonpath=." diff --git a/test_root/.gitignore b/test_root/.gitignore index b3e5512f73a5f5f5282ee9bdea1e36a4fff3605e..a17bd47875c9936aed7746ffae34d7d6a9f40d1e 100644 --- a/test_root/.gitignore +++ b/test_root/.gitignore @@ -1,2 +1,3 @@ local_repo remote_repo +staticfiles diff --git a/test_root/staticfiles/cms/.gitkeep b/test_root/staticfiles/cms/.gitkeep deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/test_root/staticfiles/lms/.gitkeep b/test_root/staticfiles/lms/.gitkeep deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000