~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number

« back to all changes in this revision

Viewing changes to debian/tests/system

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Matthias Klose, Dmitrijs Ledkovs, Martin Pitt
  • Date: 2012-11-07 15:47:19 UTC
  • mfrom: (26.1.1 quantal-proposed)
  • Revision ID: package-import@ubuntu.com-20121107154719-r6wvtwwkh4n3aqkm
Tags: 1:0.2.72
[ Matthias Klose ]
* Build-depend on python3-all.

[ Dmitrijs Ledkovs ]
* Use /usr/bin/python3 shebang.

[ Martin Pitt ]
* debian/tests/system: Fix duplicate output of error message for test
  failures.
* tests/ubuntu_drivers.py, test_devices_detect_plugins(): Fix failure if
  special.py occurs first in the output. This bug was triggered by Python
  3.3's new hash randomization behaviour. (LP: #1071997)
* UbuntuDrivers/detect.py: Fix UnicodeDecodeError crash when encountering a
  package with invalid UTF-8 encoding. Just skip those packages instead. Add
  test to tests/ubuntu_drivers.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    '''Return out from a successful program call.'''
23
23
 
24
24
    (code, out, err) = program_out(argv)
25
 
    self.assertEqual(err, '', err)
 
25
    self.assertEqual(err, '')
26
26
    self.assertEqual(code, 0)
27
27
    return out
28
28