gnu: python-django-pipeline: Fix tests.
* gnu/packages/django.scm (python-django-pipeline): Provide pythonpath to django-admin.
This commit is contained in:
		
							parent
							
								
									e73f565445
								
							
						
					
					
						commit
						88e9e9e697
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -804,7 +804,8 @@ entries, photos, book chapters, or anything else.")
 | 
				
			||||||
           (lambda*(#:key tests? #:allow-other-keys)
 | 
					           (lambda*(#:key tests? #:allow-other-keys)
 | 
				
			||||||
             (when tests?
 | 
					             (when tests?
 | 
				
			||||||
               (setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
 | 
					               (setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
 | 
				
			||||||
               (invoke "django-admin" "test" "tests")))))))
 | 
					               (invoke "django-admin" "test" "tests"
 | 
				
			||||||
 | 
					                       "--pythonpath=.")))))))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("python-css-html-js-minify" ,python-css-html-js-minify)
 | 
					     `(("python-css-html-js-minify" ,python-css-html-js-minify)
 | 
				
			||||||
       ("python-django" ,python-django)
 | 
					       ("python-django" ,python-django)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue