def _MakeRelativePathsInFlagsAbsoluteTest( test ): wd = test[ 'wd' ] if 'wd' in test else '/not_test' assert_that( flags._MakeRelativePathsInFlagsAbsolute( test[ 'flags' ], wd ), contains( *test[ 'expect' ] ) )