Exemplo n.º 1
0
    def clean(self):
        super(Cases, self).clean()
        if self.created_on:
            self.created_on = timestamp_to_dt(self.created_on)
        if self.updated_on:
            self.updated_on = timestamp_to_dt(self.updated_on)

        if self.custom_case_complexity:
            self.custom_case_complexity = self.case_complexities[
                str(self.custom_case_complexity)]
        if self.custom_qa_team:
            self.custom_qa_team = self.qa_teams[str(self.custom_qa_team)]
Exemplo n.º 2
0
 def clean(self):
     super(Projects, self).clean()
     if self.completed_on:
         self.completed_on = timestamp_to_dt(self.completed_on)
Exemplo n.º 3
0
 def clean(self):
     super(Results, self).clean()
     if self.created_on:
         self.created_on = timestamp_to_dt(self.created_on)
Exemplo n.º 4
0
 def clean(self):
     super(Runs, self).clean()
     if self.created_on:
         self.created_on = timestamp_to_dt(self.created_on)
     if self.completed_on:
         self.completed_on = timestamp_to_dt(self.completed_on)
Exemplo n.º 5
0
 def clean(self):
     super(Milestones, self).clean()
     if self.completed_on:
         self.completed_on = timestamp_to_dt(self.completed_on)
     if self.due_on:
         self.due_on = timestamp_to_dt(self.due_on)