Testing pull-request on other person's package
<p>I opened an <a href="https://github.com/mvantellingen/python-zeep/issues/177" rel="nofollow">issue</a> in a package that I need for my job, and now the author is asking me to test a <a href="https://github.com/mvantellingen/python-zeep/pull/205" rel="nofollow">pull request</a>. The problem is... I don't really know what is the preferred way to do that.  </p>

<p>The only way I see now is that I fork the repository, download and apply the pull request as a patch and then import the function from that project... surely there must be a better way? I'm using PyCharm on Ubuntu.</p>

<p>The GitHub pull request names the source: </p>

<blockquote>
  <p>mvantellingen wants to merge 12 commits into <code>master</code> from <code>multiple-msg-parts</code></p>
</blockquote>

<p><code>multiple-msg-parts</code> is just another branch in the same repository. Just clone that repository and check out <a href="https://github.com/mvantellingen/python-zeep/tree/multiple-msg-parts" rel="nofollow">that specific branch</a>.</p>

<p>Other pull requests may have been created from a branch in a different repository; the source repository will then have a <code>&lt;username&gt;:&lt;branch&gt;</code> form, at which point you'd clone the project from that specific user to get that branch. For example, <a href="https://github.com/mvantellingen/python-zeep/pull/185" rel="nofollow">this pull request</a> is sourced from <code>andrewserong:check-node-get-children</code>, so you'd clone <a href="https://github.com/andrewserong/python-zeep" rel="nofollow"><code>andrewserong/python-zeep</code></a> and switch to the <code>check-node-get-children</code> branch instead.</p>

<p>PyCharm lets you <a href="https://www.jetbrains.com/help/pycharm/2016.2/cloning-a-repository-from-github.html" rel="nofollow">clone directly from GitHub</a>; once cloned use the <em>VCS</em> menu item to switch branches.</p>

python github fork pull-request