예제 #1
0
 def test_valid_commit_is_not_vallid(self):
     self.assertFalse(
         valid_commit(
             {
                 "title": "test"
             },
             ['test']
         )
     )
예제 #2
0
 def test_valid_commit_with_empty_list_vallid(self):
     self.assertTrue(
         valid_commit(
             {
                 "title": "test"
             },
             []
         )
     )
예제 #3
0
 def test_valid_commit_is_vallid(self):
     self.assertTrue(
         valid_commit(
             {
                 "title": "some"
             },
             ['test']
         )
     )