def test_n_tasks_completed_returns_zero_when_no_data(self):
     n = cache.n_tasks_completed()
     assert n == 0
 def test_n_tasks_completed_returned(self):
     n = cache.n_tasks_completed()
     assert n == 1