diff --git a/idlerpg/models.py b/idlerpg/models.py index 20fb569..59ef682 100644 --- a/idlerpg/models.py +++ b/idlerpg/models.py @@ -124,7 +124,7 @@ class Character(models.Model): def __str__(self): """Provide a string representation for display, etc. purposes.""" - return f"{self.name}, level {self.level} {self.character_class}" + return f"{self.name}, the level {self.level} {self.character_class}" def calculate_datetime_to_next_level(self): """Determine when the next level will be reached (barring no penalties or logoffs). diff --git a/tests/test_idlerpg_character.py b/tests/test_idlerpg_character.py index 1692ab5..2e2aa1b 100644 --- a/tests/test_idlerpg_character.py +++ b/tests/test_idlerpg_character.py @@ -24,7 +24,7 @@ class CharacterTest(TestCase): """Test the basic string summary.""" char = Character.objects.get(pk=1) logger.debug(str(char)) - assert str(char) == "bss, level 0 tester" + assert str(char) == "bss, the level 0 tester" def test_log_out(self): """Test basic log out functionality and end result."""