Back to index

apport  2.3
Public Member Functions
test_packaging.T Class Reference

List of all members.

Public Member Functions

def test_get_uninstalled_package

Detailed Description

Definition at line 6 of file test_packaging.py.


Member Function Documentation

get_uninstalled_package()

Definition at line 7 of file test_packaging.py.

00007 
00008     def test_get_uninstalled_package(self):
00009         '''get_uninstalled_package()'''
00010 
00011         p = apport.packaging.get_uninstalled_package()
00012         self.assertNotEqual(p, None)
00013         self.assertNotEqual(apport.packaging.get_available_version(p), '')
00014         self.assertRaises(ValueError, apport.packaging.get_version, p)
00015         self.assertTrue(apport.packaging.is_distro_package(p))
00016 
00017 unittest.main()

The documentation for this class was generated from the following file: