]> git.decadent.org.uk Git - dak.git/commitdiff
Add a doc string to FingerprintTestCase.
authorTorsten Werner <twerner@debian.org>
Fri, 14 Jan 2011 23:10:42 +0000 (00:10 +0100)
committerTorsten Werner <twerner@debian.org>
Fri, 14 Jan 2011 23:10:42 +0000 (00:10 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
tests/dbtest_fingerprint.py

index 581795a5a987199170c8b237ec9e3db38340122c..a42a6ce3203f3e0309028ad89763c8cc5ac9f437 100755 (executable)
@@ -7,6 +7,16 @@ from daklib.dbconn import Fingerprint, Uid
 import unittest
 
 class FingerprintTestCase(DBDakTestCase):
+    """
+    The FingerprintTestCase tests the relation between Fingerprint and Uid
+    objects.
+    1. It creates a fresh Fingerprint object.
+    2. It assigns a fresh Uid object to the Fingerprint object.
+    3. It fetches the Uid object from the database.
+    4. It checks that the original fingerprint is assigned to the freshly
+       fetched Uid object.
+    """
+
     def test_mini(self):
         fingerprint = Fingerprint(fingerprint = 'deadbeefdeadbeef')
         self.session.add(fingerprint)