[dak/master] Test PoolFile.fullpath.
Signed-off-by: Torsten Werner <twerner@debian.org>
---
tests/dbtest_packages.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tests/dbtest_packages.py b/tests/dbtest_packages.py
index 439c9a2..05ba411 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'
--
1.5.6.5
Reply to: