Make some improvements as suggested by DjangoDoctor

This commit is contained in:
2021-02-08 16:04:52 +00:00
parent e48e016cb9
commit a11e32252f
12 changed files with 372 additions and 109 deletions

View File

@@ -43,7 +43,7 @@ class RIGSVersionTestCase(TestCase):
# Check the prev version is loaded correctly
previousVersion = current_version.parent
self.assertEqual(previousVersion._object_version.object.notes, None)
assert previousVersion._object_version.object.notes == ''
# Check that finding the parent of the first version fails gracefully
self.assertFalse(previousVersion.parent)