Example #1
0
 def run_update_errors(self, errors_min=1, error=None):
     """
     Runs an ``add`` operation on our library, and expect to see at least
     one error.
     """
     return self.assertErrors(list(App.update()), errors_min, error=error)
Example #2
0
 def run_update(self):
     """
     Runs an ``update`` operation on our library, and checks for errors.
     """
     return self.assertNoErrors(list(App.update()))