|
@@ -333,6 +333,12 @@ TEST_RUNNER = 'desktop.lib.test_runners.HueTestRunner'
|
|
|
if 'test' in sys.argv:
|
|
if 'test' in sys.argv:
|
|
|
CACHE_MIDDLEWARE_SECONDS = 0
|
|
CACHE_MIDDLEWARE_SECONDS = 0
|
|
|
|
|
|
|
|
|
|
+# Limit Nose coverage to Hue apps
|
|
|
|
|
+NOSE_ARGS = [
|
|
|
|
|
+ '--cover-package=%s' % ','.join([app.name for app in appmanager.DESKTOP_MODULES]),
|
|
|
|
|
+ '--cover-inclusive',
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
TIME_ZONE = desktop.conf.TIME_ZONE.get()
|
|
TIME_ZONE = desktop.conf.TIME_ZONE.get()
|
|
|
|
|
|
|
|
if desktop.conf.DEMO_ENABLED.get():
|
|
if desktop.conf.DEMO_ENABLED.get():
|