Merge lp:~sergiusens/snapcraft/1506096 into lp:~snappy-dev/snapcraft/core
| Status: | Merged |
|---|---|
| Approved by: | Sergio Schvezov on 2015-10-14 |
| Approved revision: | 238 |
| Merged at revision: | 239 |
| Proposed branch: | lp:~sergiusens/snapcraft/1506096 |
| Merge into: | lp:~snappy-dev/snapcraft/core |
| Diff against target: |
91 lines (+19/-12) 3 files modified
setup.py (+1/-6) snapcraft/sources.py (+14/-4) snapcraft/tests/test_sources.py (+4/-2) |
| To merge this branch: | bzr merge lp:~sergiusens/snapcraft/1506096 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Federico Gimenez (community) | Approve on 2015-10-14 | ||
| John Lenton | 2015-10-14 | Approve on 2015-10-14 | |
|
Review via email:
|
|||
Commit Message
Run unit tests when building the deb and make a failing test work
Description of the Change
The things you do for love^wtests.
It seems that when running inside a package build proxies are defaulted to. I also took the opportunity to get rid of using wget and just stick with requests.
Using requests does have the drawback of not being able to continue a download (in this implementation at least), but forcing pull again will do the right thing, so take it as you wish.
I will be working during 0.4 to get rid of all the return True/False they are driving me nuts!
| Federico Gimenez (fgimenez) wrote : | # |
The tests are being triggered on build but I'm getting this error [1], should all of them pass?
Thanks!
| Sergio Schvezov (sergiusens) wrote : | # |
> The tests are being triggered on build but I'm getting this error [1], should
> all of them pass?
>
> Thanks!
>
> [1] http://
Oh lol, that is the issue I fixed. It is the same error we would of seen on autopkg tests. It should pass. How are you building?
| Federico Gimenez (fgimenez) wrote : | # |
@Sergio bzr bd and dpkg-buildpackage both give the same error
- 238. By Sergio Schvezov on 2015-10-14
-
Run unit tests when building the deb and make a failing test work


lgtm!