def test_DriveType(): assert fs.Drive("C:").type == win32file.GetDriveTypeW("C:")
def test_DriveNameForward(): assert fs.Drive("C:/").name == u"C:\\"
def test_DriveNameBack(): assert fs.Drive("C:\\").name == u"C:\\"
def test_DriveName(): assert fs.Drive("C:").name == u"C:\\"
def test_DriveRoot(): assert fs.Drive("C:").root() == fs.dir(u"C:\\")
def test_Drive_as_String(): assert unicode(fs.Drive("C:")) == u'Drive C:\\'