mirror of https://github.com/snachodog/mybuddy.git
Fix formatting
This commit is contained in:
parent
48c039eebb
commit
5b7bd52a41
|
@ -412,7 +412,9 @@ class HeadCircumferenceAPITestCase(TestBase.BabyBuddyAPITestCaseBase):
|
|||
response = self.client.get(endpoint)
|
||||
entry = response.data
|
||||
entry["head_circumference"] = 23
|
||||
response = self.client.patch(endpoint, {"head_circumference": entry["head_circumference"]})
|
||||
response = self.client.patch(
|
||||
endpoint, {"head_circumference": entry["head_circumference"]}
|
||||
)
|
||||
self.assertEqual(response.status_code, status.HTTP_200_OK)
|
||||
self.assertEqual(response.data, entry)
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ class BMIViewSet(viewsets.ModelViewSet):
|
|||
"""
|
||||
name = models.BMI._meta.verbose_name
|
||||
if self.suffix:
|
||||
name += ' ' + self.suffix
|
||||
name += " " + self.suffix
|
||||
return name
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue