diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-08 20:15:58 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-08 20:15:58 +0100 |
| commit | 33c83f032fa17f0068a3a1b5486a3cfcfeabd66d (patch) | |
| tree | cb72b8704f9753833b75f29dbdc9c68e22391aa4 | |
| parent | 2970a61bf162c15114f16ede822f02dc7968ac37 (diff) | |
| download | python-apt-33c83f032fa17f0068a3a1b5486a3cfcfeabd66d.tar.gz | |
tests/test_apt_cache.py: change test to test for python3 instead of xterm to fix test failure on certain buildds
| -rw-r--r-- | tests/test_apt_cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index 6ec04ed5..e62507ed 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -185,11 +185,11 @@ class TestAptCache(unittest.TestCase): cache = apt.Cache(rootdir="/") l = [] l.append(cache["libc6"]) - l.append(cache["xterm"]) + l.append(cache["python3"]) l.append(cache["apt"]) l.sort() self.assertEqual([p.name for p in l], - ["apt", "libc6", "xterm"]) + ["apt", "libc6", "python3"]) def test_get_architectures(self): main_arch = apt.apt_pkg.config.get("APT::Architecture") |
