~ubuntu-branches/ubuntu/maverick/usb-creator/maverick

« back to all changes in this revision

Viewing changes to tests/test_windows_backend.py

  • Committer: Bazaar Package Importer
  • Author(s): Evan Dandrea, Evan Dandrea, Roderick B. Greening
  • Date: 2009-08-26 21:16:18 UTC
  • Revision ID: james.westby@ubuntu.com-20090826211618-d1p2wkg661375fz9
Tags: 0.2.3
[ Evan Dandrea ]
* Depend on python-qt4-dbus.  Thanks Daniel T. Chen (LP: #404553).
* New KDE icon.  Thanks Jonathan Riddell and Ken Wimer!
* Massively cleaned up the structure of the usb-creator code.
* Replaced the HAL backend with a DeviceKit-disks backend.
* Added a Windows frontend and backend (built outside the archive).
* Manage the install routine and progress feedback in separate threads,
  rather than a separate process.
* Replace dependency on parted and mtools with devicekit-disks.

[ Roderick B. Greening ]
* Update ui file name for KDE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from usbcreator.backends.windows import WindowsBackend
 
2
import unittest
 
3
 
 
4
class TestWindowsBackend(unittest.TestCase):
 
5
    def test_backend(self):
 
6
        b = WindowsBackend()
 
7
        b.detect_devices()
 
8
 
 
9
    def test_format(self):
 
10
        b = WindowsBackend()
 
11
        b._device_added(u'E:\\')
 
12
        b.format(u'E:\\')