basic rapid integration testing
This commit is contained in:
+1
-3
@@ -265,13 +265,11 @@ class AnatomyQuestion(models.Model):
|
||||
]
|
||||
)
|
||||
|
||||
def get_question_json(self, based=True, feedback=False, answers=True):
|
||||
def get_question_json(self, based: bool=True, answers: bool=True):
|
||||
"""Returns a json representation of the question"""
|
||||
|
||||
# Loop through rapidimage associations
|
||||
images = []
|
||||
annotations = []
|
||||
feedback_images = []
|
||||
|
||||
if based:
|
||||
images.append(image_as_base64(self.image))
|
||||
|
||||
Reference in New Issue
Block a user