<s> import os <EOL> from ... . utils import catkin_success <EOL> from ... workspace_factory import workspace_factory <EOL> def test_catkin_build_with_whitespace_in_paths ( ) : <EOL> with workspace_factory ( source_space = '<STR_LIT>' ) as wf : <EOL> wf . create_package ( '<STR_LIT:foo>' , depends = [ '<STR_LIT:bar>' ] ) <EOL> wf . create_package ( '<STR_LIT:bar>' ) <EOL> wf . build ( ) <EOL> print ( '<STR_LIT>' . format ( wf . workspace ) ) <EOL> assert os . path . isdir ( wf . workspace ) <EOL> cmd = [ '<STR_LIT>' , '<STR_LIT>' , wf . source_space , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' ] <EOL> assert catkin_success ( cmd ) , cmd <EOL> cmd = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> assert catkin_success ( cmd ) , cmd </s>
