282
282
# first pass we still have an item, so the state shouldn't change
283
283
get_publishing_history.return_value = [
287
287
Command().cleaning_to_available()
288
288
p = PPA.objects.get(name='ci_pool-002')
289
289
self.assertEqual(PPA.CLEANING, p.state)
291
291
get_publishing_history.return_value = [
295
295
Command().cleaning_to_available()
296
296
p = PPA.objects.get(name='ci_pool-002')