[SCM] GUI front-end for Debian Live. branch, master, updated. 319b1d690e4a5bd4d3df065fd5ff331421c1059d

Chris Lamb lamby at debian.org
Fri Oct 17 23:08:59 UTC 2008


The following commit has been merged in the master branch:
commit 319b1d690e4a5bd4d3df065fd5ff331421c1059d
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Oct 18 00:08:36 2008 +0100

    Ensure local code copy is used when running tests.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 604b82e..0a17a1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ live-magic (1.3) unstable; urgency=low
   * Sync option specification with live-helper 1.0.1-1.
   * Modify mirror auto-detection to ignore the debian-multimedia and
     volatile.debian.org repositories. (Closes: #502335)
+  * Ensure local code copy is used when running tests.
 
- -- Chris Lamb <lamby at debian.org>  Sat, 18 Oct 2008 00:02:14 +0100
+ -- Chris Lamb <lamby at debian.org>  Sat, 18 Oct 2008 00:07:41 +0100
 
 live-magic (1.2) unstable; urgency=low
 
diff --git a/tests/test_all.py b/tests/test_all.py
index e74f7cb..37ecb1b 100755
--- a/tests/test_all.py
+++ b/tests/test_all.py
@@ -18,6 +18,7 @@
 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 import os
+import sys
 import unittest
 
 def suite():
@@ -32,4 +33,5 @@ def is_test(filename):
     return filename.startswith('test_') and filename.endswith('.py')
 
 if __name__ == "__main__":
+    sys.path.insert(0, '.')
     unittest.main(defaultTest="suite")

-- 
GUI front-end for Debian Live.



More information about the debian-live-changes mailing list