Re: Changing run_tests.py (Galaxy package inspired)
Peter Cock <[email protected]>
| Newsgroups | gmane.comp.python.bio.devel |
|---|---|
| Message-ID | <CAKVJ-_56ACic3XAXDv-wXGioR4gpRSwnn7+VQ5Kn2WHztEEQTQ@mail.gmail.com> |
On Tue, May 10, 2016 at 8:00 PM, Tiago Rodrigues Antao <[email protected]> wrote: > > > On Tue, 10 May 2016, Peter Cock wrote: > >> I like this idea - I guess we'd need a subclass of the missing dependency >> exception specifically for missing a proprietary extension? > > > That would work. > Also, change run_tests and add two options, say: > --check-dependencies > --check-free-dependencies > > I can work on a PR along these lines... Yes please - you should be able to follow the model used for the current run_tests.py --offline switch which is also handled via an exception triggered at import time of test_XXX.py. Peter