Merge lp:~james-w/pkgme/enable-tests into lp:pkgme
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Jonathan Lange |
Approved revision: | 95 |
Merged at revision: | 92 |
Proposed branch: | lp:~james-w/pkgme/enable-tests |
Merge into: | lp:pkgme |
Diff against target: |
162 lines (+51/-19) 8 files modified
pkgme/backends/dummy/package_name (+3/-0) pkgme/backends/dummy/version (+3/-0) pkgme/backends/dummy/want (+7/-0) pkgme/distutils_command/pkgme_info.py (+4/-4) pkgme/testing.py (+13/-0) pkgme/tests/test_distutils_command.py (+7/-4) pkgme/tests/test_script.py (+10/-10) tarmac_tests.sh (+4/-1) |
To merge this branch: | bzr merge lp:~james-w/pkgme/enable-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Lange | Approve | ||
Review via email: mp+85032@code.launchpad.net |
Commit message
Have tarmac run the tests. Skip the debpython tests if it is missing.
Description of the change
Hi,
This is the change to enable the tests for pkgme in tarmac.
I went with disabling the tests using debpython if it's not
present. This isn't ideal, but I figured that testing
99% of the code in tarmac was better than testing 0%.
Thanks,
James
To post a comment you must log in.
Looks good to me.
You do have a repeated literal, the path to debpython in your diff is also, sort of, in distutils_ command/ pkgme_info. Since they both have FIXME comments, it's not such a big deal.