~ubuntu-branches/ubuntu/precise/aptdaemon/precise-updates

« back to all changes in this revision

Viewing changes to tests/test_client.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2011-11-18 12:03:22 UTC
  • mfrom: (1.3.15)
  • Revision ID: package-import@ubuntu.com-20111118120322-x0ffrgyrrc7ku8lm
Tags: 0.43+bzr703-0ubuntu1
* New bzr snapshot:
  - Merge the AddLicenseKey method
  - Replace the backported unittest2 framework by the native one of
    Python 2.7 and Nose to collect the tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
import logging
6
6
import time
7
 
import unittest2
 
7
import unittest
8
8
 
 
9
import dbus
9
10
import defer
10
 
import dbus
11
11
 
12
12
import aptdaemon.client
13
13
import aptdaemon.loop
81
81
if __name__ == "__main__":
82
82
    if DEBUG:
83
83
        logging.basicConfig(level=logging.DEBUG)
84
 
    unittest2.main()
 
84
    unittest.main()
85
85
 
86
86
# vim: ts=4 et sts=4