~ubuntu-branches/ubuntu/raring/software-center/raring-proposed

« back to all changes in this revision

Viewing changes to tests/test_logging.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2012-10-11 15:33:05 UTC
  • mfrom: (195.1.18 quantal)
  • Revision ID: package-import@ubuntu.com-20121011153305-fm5ln7if3rpzts4n
Tags: 5.4.1.1
* lp:~mvo/software-center/reinstall-previous-purchase-token-fix:
  - fix reinstall previous purchases that have a system-wide
    license key LP: #1065481
* lp:~mvo/software-center/lp1060106:
  - Add missing gettext init for utils/update-software-center-agent
    (LP: #1060106)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
class TestLogging(unittest.TestCase):
18
18
    """Tests for the sc logging facilities."""
19
19
 
 
20
    @unittest.skipIf(
 
21
        os.getuid() == 0, 
 
22
        "fails when run as root as os.access() is always successful")
20
23
    def test_no_write_access_for_cache_dir(self):
21
24
        """Test for bug LP: #688682."""
22
25
        cache_dir = './foo'