gnu: python-s3transfer: Run the tests.

* gnu/packages/python.scm (python-s3transfer, python2-s3transfer)[arguments]:
Use python-nose to run the tests.
[native-inputs]: Add python-mock and python-nose.
master
Leo Famulari 2016-10-26 20:53:39 -04:00
parent 02c73adcdf
commit fad8bf977d
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 11 additions and 1 deletions

View File

@ -11212,8 +11212,18 @@ replay them during future tests. It is designed to work with python-requests.")
(base32
"1jivjkp3xqif9gzr5fiq28jsskmh50vzzd7ldsb4rbyiw1iyv3hy"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
;; 7 of the 'integration' tests require network access or login
;; credentials.
(zero? (system* "nosetests" "--exclude=integration")))))))
(native-inputs
`(("python-docutils" ,python-docutils)))
`(("python-docutils" ,python-docutils)
("python-mock" ,python-mock)
("python-nose" ,python-nose)))
(inputs
`(("python-botocore" ,python-botocore)))
(synopsis "Amazon S3 Transfer Manager")