diff --git a/marvin_strings.json b/marvin_strings.json index a8a2a07..c85ccc7 100644 --- a/marvin_strings.json +++ b/marvin_strings.json @@ -63,7 +63,8 @@ "#2": "Var inte rädd för att fråga och fråga tills du får svar: https://dbwebb.se/f/6249", "#3": "Öva dig ställa smarta frågor: https://dbwebb.se/f/7802", "#4": "When in doubt - gör ett testprogram. https://dbwebb.se/f/13570", - "#5": "Hey Luke - use the source! https://catb.org/jargon/html/U/UTSL.html" + "#5": "Hey Luke - use the source! https://catb.org/jargon/html/U/UTSL.html", + "#6": "Om du googlar på felkoden från pylint så hittar du bra förklaringar på nätet, med exempel!" }, "video-of-today": { diff --git a/test_marvin_actions.py b/test_marvin_actions.py index 59c99b8..3327ab6 100644 --- a/test_marvin_actions.py +++ b/test_marvin_actions.py @@ -145,7 +145,7 @@ def testSource(self): def testBudord(self): """Test that marvin knows all the commandments""" - for n in range(1, 6): + for n, _ in enumerate(self.strings.get("budord")): self.assertStringsOutput(marvin_actions.marvinBudord, f"budord #{n}", "budord", f"#{n}") self.assertStringsOutput(marvin_actions.marvinBudord,"visa stentavla 1", "budord", "#1")