From aaa0aee2a0183ae6856f3c7b2357a131fe182db1 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Sat, 15 Jan 2011 00:10:42 +0100 Subject: [PATCH] Add a doc string to FingerprintTestCase. Signed-off-by: Torsten Werner --- tests/dbtest_fingerprint.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/dbtest_fingerprint.py b/tests/dbtest_fingerprint.py index 581795a5..a42a6ce3 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) -- 2.39.5