Exemplo n.º 1
0
 def test_revert(self):
     """
     revert - test to ensure that ``revert`` method functions
     without exception
     """
     sartoris_obj = Sartoris()
     try:
         sartoris_obj.revert(namedtuple('o', 'force')(False))
     except SartorisError:
         assert False
Exemplo n.º 2
0
 def test_revert(self):
     """
     revert - test to ensure that ``revert`` method functions
     without exception
     """
     sartoris_obj = Sartoris()
     try:
         sartoris_obj.revert(None)
     except SartorisError:
         assert False