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

« back to all changes in this revision

Viewing changes to aptdaemon/test.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:
29
29
import subprocess
30
30
import sys
31
31
import tempfile
32
 
import unittest2
 
32
import unittest
33
33
 
34
34
import apt_pkg
35
35
 
162
162
                                                                     filename))
163
163
 
164
164
 
165
 
class AptDaemonTestCase(unittest2.TestCase):
 
165
class AptDaemonTestCase(unittest.TestCase):
166
166
 
167
167
    def start_fake_polkitd(self, options="all"):
168
168
        """Start a fake PolicyKit daemon.