Fixes Test for configure Method in DiceInterface
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user