Fixes Test for configure Method in DiceInterface

This commit is contained in:
2023-04-25 14:01:32 +00:00
committed by GitHub
parent e9a246812c
commit a13088c409
3 changed files with 14 additions and 8 deletions

View File

@@ -34,11 +34,11 @@ class TestDiceInterface(unittest.TestCase):
}
)
self.assertFalse(hasattr(dice, 'step'))
self.assertIsNone(dice.step)
dice.configure('test')
self.assertTrue(hasattr(dice, 'step'))
self.assertIsNotNone(dice.step)
def test_reset(self):
dice = DiceInterface(