more tests

This commit is contained in:
jonaswinkler
2020-12-15 13:47:43 +01:00
parent 7e0aa7136a
commit b787983e42
4 changed files with 15 additions and 10 deletions

View File

@@ -221,7 +221,7 @@ class Document(models.Model):
else:
fname = "{:07}{}".format(self.pk, self.file_type)
if self.storage_type == self.STORAGE_TYPE_GPG:
fname += ".gpg"
fname += ".gpg" # pragma: no cover
return os.path.join(
settings.ORIGINALS_DIR,