File tree Expand file tree Collapse file tree
tests/vibe_see_readme_in_this_dir Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 Toll ,
2424 Leaf ,
2525 Branch ,
26+ FlattenedArch ,
2627)
2728from accelforge .frontend .workload import Workload
2829
@@ -321,7 +322,7 @@ def test_specific_compute_node(self):
321322 spec = self ._make_spec ()
322323 result = spec ._get_flattened_architecture (compute_node = "MAC" )
323324 # Returns a single path (flat list of Leaf nodes), not list of lists
324- self .assertIsInstance (result , list )
325+ self .assertIsInstance (result , FlattenedArch )
325326 self .assertIsInstance (result [- 1 ], Leaf )
326327 self .assertEqual (result [- 1 ].name , "MAC" )
327328
@@ -346,7 +347,7 @@ def test_fork_arch_specific_mac(self):
346347 spec = self ._make_spec (arch = _fork_arch ())
347348 result = spec ._get_flattened_architecture (compute_node = "MAC" )
348349 # Returns a single path, not list of lists
349- self .assertIsInstance (result , list )
350+ self .assertIsInstance (result , FlattenedArch )
350351 self .assertIsInstance (result [- 1 ], Leaf )
351352 self .assertEqual (result [- 1 ].name , "MAC" )
352353
You can’t perform that action at this time.
0 commit comments