]> err.no Git - dak/commitdiff
fix paths in test_copy_installer to work on franck
authorTorsten Werner <twerner@debian.org>
Sat, 8 Jan 2011 18:30:13 +0000 (19:30 +0100)
committerTorsten Werner <twerner@debian.org>
Sat, 8 Jan 2011 18:30:13 +0000 (19:30 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
tests/fixtures/dak.conf
tests/test_copy_installer.py

index 1c50af073a9a2424b7718466931978b9488e94cc..9c0bfe51422216882a0ee272852b79c941bc7012 100644 (file)
@@ -20,5 +20,5 @@ Component
 
 Dir
 {
-  Root "fixtures/ftp/";
+  Root "tests/fixtures/ftp/";
 };
index 440e4c12a36eea58e62c2d8eb0d6ef0200ff7ef5..09bd13a607b9dfeb452ec34245d466dfce40d13e 100755 (executable)
@@ -26,9 +26,9 @@ class ImportTestCase(DakTestCase):
 
     def test_dir_names(self):
         copier = InstallerCopier(version = '20110106')
-        self.assertEqual('fixtures/ftp/dists/unstable/main',
+        self.assertEqual('tests/fixtures/ftp/dists/unstable/main',
                 copier.source_dir)
-        self.assertEqual('fixtures/ftp/dists/testing/main',
+        self.assertEqual('tests/fixtures/ftp/dists/testing/main',
                 copier.dest_dir)
 
     def missing_source(self):
@@ -46,11 +46,11 @@ class ImportTestCase(DakTestCase):
         self.assertEqual(['amd64'], copier.architectures)
         self.assertEqual(['i386'], copier.skip_architectures)
         self.assertEqual( \
-            [('fixtures/ftp/dists/unstable/main/installer-amd64/20110106', \
-              'fixtures/ftp/dists/testing/main/installer-amd64/20110106'),], \
+            [('tests/fixtures/ftp/dists/unstable/main/installer-amd64/20110106', \
+              'tests/fixtures/ftp/dists/testing/main/installer-amd64/20110106'),], \
             copier.trees_to_copy)
         self.assertEqual([('20110106', \
-            'fixtures/ftp/dists/testing/main/installer-amd64/current')], \
+            'tests/fixtures/ftp/dists/testing/main/installer-amd64/current')], \
             copier.symlinks_to_create)
         self.assertEqual('''
 Will copy installer version 20110106 from suite unstable to