@@ -45,6 +45,7 @@ async def test_load(self):
45
45
self .loader .assign_child_resource (self .plate )
46
46
await self .loader .load ()
47
47
self .mock_loader_backend .load .assert_awaited_once ()
48
+ assert self .centrifuge .at_bucket is not None
48
49
self .assertEqual (self .centrifuge .at_bucket .children [0 ], self .plate )
49
50
self .assertEqual (self .loader .children , [])
50
51
@@ -64,6 +65,7 @@ async def test_load_no_plate(self):
64
65
async def test_load_bucket_has_plate (self ):
65
66
await self .centrifuge .go_to_bucket1 ()
66
67
await self .centrifuge .open_door ()
68
+ assert self .centrifuge .at_bucket is not None
67
69
self .centrifuge .at_bucket .assign_child_resource (self .plate )
68
70
another_plate = Cor_96_wellplate_360ul_Fb (name = "another_plate" )
69
71
self .loader .assign_child_resource (another_plate )
@@ -81,6 +83,7 @@ async def test_load_not_at_bucket(self):
81
83
async def test_unload (self ):
82
84
await self .centrifuge .go_to_bucket1 ()
83
85
await self .centrifuge .open_door ()
86
+ assert self .centrifuge .at_bucket is not None
84
87
self .centrifuge .at_bucket .assign_child_resource (self .plate )
85
88
await self .loader .unload ()
86
89
self .mock_loader_backend .unload .assert_awaited_once ()
0 commit comments