Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion marvin_strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion test_marvin_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Loading