예제 #1
0
 def test_log_deploys(self):
     """
     log_deploys - test to ensure that ``log_deploys`` method functions
     without exception
     """
     sartoris_obj = Sartoris()
     try:
         sartoris_obj.log_deploys(namedtuple('o', 'count')(1))
     except SartorisError:
         assert False
예제 #2
0
파일: test.py 프로젝트: rfaulkner/Sartoris
 def test_log_deploys(self):
     """
     log_deploys - test to ensure that ``log_deploys`` method functions
     without exception
     """
     sartoris_obj = Sartoris()
     try:
         sartoris_obj.log_deploys(None)
     except SartorisError:
         assert False