diff options
| author | Julian Andres Klode <jak@debian.org> | 2014-01-23 14:27:34 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2014-01-23 14:27:34 +0100 |
| commit | cf0b0c05ee4d228363f8331c30f993b8ce5c569b (patch) | |
| tree | 859c1f845c825b27d97a82715eff0ba416e23e78 /tests | |
| parent | 14a0a07a331c936537a346f69e3c39db175e00cf (diff) | |
| download | python-apt-cf0b0c05ee4d228363f8331c30f993b8ce5c569b.tar.gz | |
tests/test_aptsources.py: Fix regression in d95a8f2
Commit d95a8f27774842beb43bda54c4c61b67fe76a032 introduced a regression
in this test that did not catch an invalid False value for the trusted
property of a source without trusted set.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_aptsources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_aptsources.py b/tests/test_aptsources.py index e6d0bd82..f955205f 100644 --- a/tests/test_aptsources.py +++ b/tests/test_aptsources.py @@ -156,7 +156,7 @@ class TestAptSources(unittest.TestCase): assert sources.list[8].dist == "natty" assert sources.list[8].comps == ["main"] assert sources.list[8].line.strip() == str(sources.list[8]) - assert not sources.list[8].trusted + assert sources.list[8].trusted is None def testMultipleOptions(self): """aptsources: Test multi-arch parsing""" |
