[dak/master] Add a doc string to FingerprintTestCase.
Signed-off-by: Torsten Werner <twerner@debian.org>
---
tests/dbtest_fingerprint.py | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/tests/dbtest_fingerprint.py b/tests/dbtest_fingerprint.py
index 581795a..a42a6ce 100755
--- a/tests/dbtest_fingerprint.py
+++ b/tests/dbtest_fingerprint.py
@@ -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)
--
1.5.6.5
Reply to: