コード例 #1
0
ファイル: tests.py プロジェクト: nens/githubinfo
 def test_is_testfile5(self):
     # Detect relevant changes in doctests.
     self.assertTrue(
         commits.is_testfile(
             {"filename": "myproject/something.rst", "patch": '@@ -1,6 +1,12 @@\n >>> print("reinout")'}
         )
     )
コード例 #2
0
ファイル: tests.py プロジェクト: nens/githubinfo
 def test_is_testfile4(self):
     self.assertFalse(commits.is_testfile({"filename": "myproject/README.rst", "patch": ""}))
コード例 #3
0
ファイル: tests.py プロジェクト: nens/githubinfo
 def test_is_testfile2(self):
     self.assertTrue(commits.is_testfile({"filename": "myproject/test_thingy.js"}))
コード例 #4
0
ファイル: tests.py プロジェクト: nens/githubinfo
 def test_is_testfile3(self):
     self.assertFalse(commits.is_testfile({"filename": "myproject/testsettings.py"}))
コード例 #5
0
ファイル: tests.py プロジェクト: nens/githubinfo
 def test_is_testfile1(self):
     self.assertTrue(commits.is_testfile({"filename": "myproject/tests.py"}))
コード例 #6
0
ファイル: tests.py プロジェクト: yoyossy/githubinfo__nens
 def test_is_testfile4(self):
     self.assertFalse(commits.is_testfile(
             {'filename': 'myproject/README.rst',
              'patch': ''}))
コード例 #7
0
ファイル: tests.py プロジェクト: yoyossy/githubinfo__nens
 def test_is_testfile3(self):
     self.assertFalse(commits.is_testfile(
             {'filename': 'myproject/testsettings.py'}))
コード例 #8
0
ファイル: tests.py プロジェクト: yoyossy/githubinfo__nens
 def test_is_testfile2(self):
     self.assertTrue(commits.is_testfile(
             {'filename': 'myproject/test_thingy.js'}))
コード例 #9
0
ファイル: tests.py プロジェクト: yoyossy/githubinfo__nens
 def test_is_testfile1(self):
     self.assertTrue(commits.is_testfile(
             {'filename': 'myproject/tests.py'}))