Esempio 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
Esempio 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