projects
/
lsb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f7ddf
)
test/test_lsb_release.py: also, make lsb_release ignore dpkg origins for the test...
author
Steve Langasek
<steve.langasek@ubuntu.com>
Tue, 21 May 2013 10:13:08 +0000
(12:13 +0200)
committer
Didier Raboud
<odyx@debian.org>
Wed, 5 Jun 2013 10:33:09 +0000
(12:33 +0200)
test/test_lsb_release.py
patch
|
blob
|
history
diff --git
a/test/test_lsb_release.py
b/test/test_lsb_release.py
index c449a4b33905aae650cddf84614fb81b2cbeb1e8..ae1e1c9e2227217a91b10ea3f58360b82130866f 100644
(file)
--- a/
test/test_lsb_release.py
+++ b/
test/test_lsb_release.py
@@
-346,8
+346,10
@@
class TestLSBRelease(unittest.TestCase):
f.write('testing/sid')
f.close()
os.environ['LSB_ETC_DEBIAN_VERSION'] = fn
+ os.environ['LSB_ETC_DPKG_ORIGINS_DEFAULT'] = ''
self.assertEqual(lr.get_distro_information(),supposed_output)
os.remove(fn)
+ os.environ.pop('LSB_ETC_DPKG_ORIGINS_DEFAULT')
os.environ.pop('LSB_ETC_DEBIAN_VERSION')
if __name__ == '__main__':