コード例 #1
0
ファイル: test_models.py プロジェクト: robrechtdr/inonemonth
 def test_get_commit_comparison_url(self):
     challenge = GargantuanChallengeFactory(repo_name="asiakas",
                                            branch_name="master",
                                            start_commit="6b8c19067")
     self.assertEqual(
         challenge.get_commit_comparison_url(),
         ("https://github.com/RobrechtDR/asiakas/"
          "compare/6b8c19067...b3e18963c3e1091134f5b4637aa198d196336ea9"))