mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3221 from BladeBoles/fix/beginner-tutorial-rules-typo
fix: beginner tutorial 3.2.4 "Rules and Dice Rolling" typo
This commit is contained in:
commit
9aae2935b1
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ class TestEvAdventureRuleEngine(BaseEvenniaTest):
|
|||
@patch("evadventure.rules.randint")
|
||||
def test_roll(self, mock_randint):
|
||||
mock_randint.return_value = 4
|
||||
self.assertEqual(self.roll_engine.roll("1d6", 4))
|
||||
self.assertEqual(self.roll_engine.roll("1d6"), 4)
|
||||
self.assertEqual(self.roll_engine.roll("2d6"), 2 * 4)
|
||||
|
||||
# test of the other rule methods below ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue