def test_current_dir_without_join(): fs = FileSystem() got = fs.current_dir() expected = abspath(".") assert_equals(got, expected)
def test_current_dir_with_join(): fs = FileSystem() got = fs.current_dir("etc") expected = join(abspath("."), "etc") assert_equals(got, expected)