Skip to content

Commit

Permalink
#562: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Dec 19, 2024
1 parent 7a53a55 commit 32793d2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/unit/Model/test_lbs_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ def setUp(self):
self.block = Block(self.b_id, self.h_id, self.size, self.o_ids)

def test_lbs_block_initialization(self):
wrong_bid = 1.0
with self.assertRaises(TypeError) as err:
block_wrong_bid = Block(b_id=wrong_bid, h_id=1)
self.assertEqual(str(err.exception), f"b_id: incorrect type {type(wrong_bid)}")

wrong_hid = 1.0
with self.assertRaises(TypeError) as err:
block_wrong_hid = Block(b_id=1, h_id=wrong_hid)
Expand Down

0 comments on commit 32793d2

Please sign in to comment.