Fix test cases + logging fixes

This commit is contained in:
zandercymatics 2023-11-08 16:32:02 -07:00
parent 1ad40cc709
commit 9409b3f41c
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
5 changed files with 20 additions and 16 deletions

View file

@ -79,6 +79,10 @@ class TransitionDomain(TimeStampedModel):
)
def __str__(self):
return f"{self.username}, {self.domain_name}"
def display_transition_domain(self):
"""Displays all information about a TransitionDomain in string format"""
return (
f"\n-----TRANSITION DOMAIN------\n"
f"domainName: {self.domain_name}, \n"