added test for git sources in sources.py #233

Merged
merged 1 commit into from Jan 15, 2016

Conversation

Projects
None yet
3 participants
Contributor

fazerlicourice7 commented Jan 15, 2016

No description provided.

+ builddir='dummy',
+ options=options)
+
+ mock_pull.assert_called_once_with()
@sergiusens

sergiusens Jan 15, 2016

Collaborator

called once with what?

Collaborator

sergiusens commented Jan 15, 2016

Looks good, just fix that assertion in the code.

After fixing, do this:

git add snapcraft/tests/test_sources.py 
git commit --ammend
git push [origin|fazer] --force

When ammending add this at the end in one line only:

LP: #XXXXX

Where XXXXX is the launchpad bug number

origin or fazer or whatever your remote is (however you originally ran git push [something])

Collaborator

sergiusens commented Jan 15, 2016

@fazerlicourice7 I actually meant amend, but it was considering you'd fix the assertion 😉

Contributor

fazerlicourice7 commented Jan 15, 2016

sergiusens, But there isn't anything to fix. That method 'pull()' isn't called with any parameters.

Collaborator

sergiusens commented Jan 15, 2016

On Thu, Jan 14, 2016 at 11:12 PM, Fazer notifications@github.com wrote:

sergiusens, But there isn't anything to fix. That method 'pull()' isn't
called with any parameters.

Ah, then it is all good. I'm 👍 but @elopio has the final say.

Member

elopio commented Jan 15, 2016

Awesome. Take a look now that we hit the line we were missing:
https://coveralls.io/files/1827079269#L298

elopio added a commit that referenced this pull request Jan 15, 2016

@elopio elopio merged commit f909dc2 into snapcore:master Jan 15, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.04%) to 90.678%
Details
Collaborator

sergiusens commented Jan 15, 2016

Just wanted to come back to this PR and say thank you!

Contributor

fazerlicourice7 commented Jan 15, 2016

@elopio can you approve the task on GCI please?

@fazerlicourice7 fazerlicourice7 deleted the fazerlicourice7:create-test-git-sources branch Jan 20, 2016

kalikiana pushed a commit to kalikiana/snapcraft that referenced this pull request Apr 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment