From: Torsten Werner Date: Wed, 19 Jan 2011 19:31:23 +0000 (+0100) Subject: Test PoolFile.fullpath. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25bd9aa8a55462384f699d19c73c53f244dc84ae;p=dak Test PoolFile.fullpath. Signed-off-by: Torsten Werner --- diff --git a/tests/dbtest_packages.py b/tests/dbtest_packages.py index 439c9a2e..05ba4116 100755 --- a/tests/dbtest_packages.py +++ b/tests/dbtest_packages.py @@ -140,6 +140,9 @@ class PackageTestCase(DBDakTestCase): location.files.append(self.file['sl']) self.session.refresh(location) self.assertEqual(2, location.files.count()) + # test fullpath + self.assertEqual('/srv/ftp-master.debian.org/ftp/pool/main/s/sl/sl_3.03-16.dsc', \ + self.file['sl'].fullpath) def setup_maintainers(self): 'create some Maintainer objects'