summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2015-08-12 15:06:14 +0200
committerDidier Raboud <odyx@debian.org>2015-08-12 17:09:55 +0200
commit1b5a2c1f19e2450d96976d42970f990d28f5d960 (patch)
tree27fce90293824cd2cfd8b961f0c63f4838621509 /test
parent96a2bf324aa67a68d30387804f18ccb5a7bb0d88 (diff)
Drop all the LSB compatibility packages besides lsb-release and lsb-base
- Drop packages-availability checking in lsb-release - Truncate README.Debian to a minimum - Document this in lsb-base.NEWS This was discussed on the debian-lsb and debian-devel lists in the following thread: https://lists.debian.org/4526217.myWFlvm1rM@gyllingar In particular, the following was the plan: https://lists.debian.org/4682310.7LIWdV4Lar@gyllingar
Diffstat (limited to 'test')
-rw-r--r--test/test_lsb_release.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_lsb_release.py b/test/test_lsb_release.py
index 94c8dbb..10b969a 100644
--- a/test/test_lsb_release.py
+++ b/test/test_lsb_release.py
@@ -91,13 +91,6 @@ class TestLSBRelease(unittest.TestCase):
self.assertEqual(lr.check_modules_installed(),[])
os.environ.pop('TEST_DPKG_QUERY_NONE')
- # Test with all packages available.
- supposed_output = [pkg[4::] + '-9.8-TESTarch' for pkg in lr.PACKAGES.split(' ')]
- supposed_output += [pkg[4::] + '-9.8-noarch' for pkg in lr.PACKAGES.split(' ')]
- supposed_output.sort()
- os.environ['TEST_DPKG_QUERY_ALL'] = '1'
- self.assertEqual(sorted(lr.check_modules_installed()),supposed_output)
-
def test_parse_policy_line(self):
release_line = ''
shortnames = list(lr.longnames.keys())