Namechange events_processed -> event_processing_finished

from PR review, also adding tests to assert that the
value is passed from the stdout_handle to the UnifiedJob
object on finalization of job run in tasks.py
This commit is contained in:
AlanCoding
2018-03-13 15:46:35 -04:00
parent b803a6e557
commit 04a27d5b4d
4 changed files with 17 additions and 8 deletions

View File

@@ -924,7 +924,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
return self.event_class.objects.filter(**{self.event_parent_key: self.id})
@property
def events_processed(self):
def event_processing_finished(self):
'''
Returns True / False, whether all events from job have been saved
'''