Adds a few more test cases for coverage and adds no coverage to some others

This commit is contained in:
Trenton Holmes
2022-06-13 11:33:30 -07:00
parent 361c255e46
commit 39ee284fcd
8 changed files with 128 additions and 39 deletions

View File

@@ -3,7 +3,9 @@ import sys
from django.core.management.commands.loaddata import Command as LoadDataCommand
class Command(LoadDataCommand):
# This class is used to migrate data between databases
# That's difficult to test
class Command(LoadDataCommand): # pragma: nocover
"""
Allow the loading of data from standard in. Sourced originally from:
https://gist.github.com/bmispelon/ad5a2c333443b3a1d051 (MIT licensed)